{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Neural Machine Translation: German to English\n",
    "\n",
    "Here we implement a neural machine translator using standard TensorFlow operations."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {},
   "outputs": [
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "/usr/local/lib/python3.5/dist-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.\n",
      "  from ._conv import register_converters as _register_converters\n"
     ]
    }
   ],
   "source": [
    "# These are all the modules we'll be using later. Make sure you can import them\n",
    "# before proceeding further.\n",
    "%matplotlib inline\n",
    "from __future__ import print_function\n",
    "import collections\n",
    "import math\n",
    "import numpy as np\n",
    "import os\n",
    "import random\n",
    "import tensorflow as tf\n",
    "import zipfile\n",
    "from matplotlib import pylab\n",
    "from six.moves import range\n",
    "from six.moves.urllib.request import urlretrieve\n",
    "import tensorflow as tf\n",
    "from PIL import Image\n",
    "from collections import Counter\n",
    "import csv\n",
    "import matplotlib.gridspec as gridspec\n",
    "import word2vec\n",
    "\n",
    "from nltk.translate.bleu_score import corpus_bleu\n",
    "import nltk"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Loading Data \n",
    "\n",
    "First, download the data from this [page](https://nlp.stanford.edu/projects/nmt/). The required files are:\n",
    "\n",
    "* File containing German sentences: [`train.de`](https://nlp.stanford.edu/projects/nmt/data/wmt14.en-de/train.de)\n",
    "* File containing English sentences: [`train.en`](https://nlp.stanford.edu/projects/nmt/data/wmt14.en-de/train.en)\n",
    "* File containing German vocabulary: [`vocab.50K.de`](https://nlp.stanford.edu/projects/nmt/data/wmt14.en-de/vocab.50K.de)\n",
    "* File containing English vocabulary: [`vocab.50K.en`](https://nlp.stanford.edu/projects/nmt/data/wmt14.en-de/vocab.50K.en)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Loading Vocabulary\n",
    "\n",
    "First we build the vocabulary dictionaries for both the source (German) and target (English) languages. The vocabularies are found in the `vocab.50K.de.txt` (German) and `vocab.50K.en.txt` files."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Source\n",
      "\t [('übernommenen', 20572), ('very', 1027), ('Filiale', 22618), ('Kepler', 48099), ('bluemiles', 29075), ('Zivilbevölkerung', 8457), ('intellektuelle', 19752), ('Gästebuch', 18172), ('Sklaverei', 12041), ('Muster', 4730)]\n",
      "\t [(0, '<unk>'), (1, '<s>'), (2, '</s>'), (3, ','), (4, '.'), (5, 'die'), (6, 'der'), (7, 'und'), (8, 'in'), (9, 'zu')]\n",
      "\t Vocabulary size:  50000\n",
      "Target\n",
      "\t [('constitutive', 23528), ('very', 67), ('gastronomy', 8842), ('Kepler', 27924), ('bluemiles', 25883), ('Preservation', 34389), ('IMEI', 36942), ('interests', 623), ('adhesives', 19256), ('friction', 11949)]\n",
      "\t [(0, '<unk>'), (1, '<s>'), (2, '</s>'), (3, 'the'), (4, ','), (5, '.'), (6, 'of'), (7, 'and'), (8, 'to'), (9, 'in')]\n",
      "\t Vocabulary size:  50000\n"
     ]
    }
   ],
   "source": [
    "# ==========================================\n",
    "# Building source language vocabulary\n",
    "\n",
    "# Contains word string -> ID mapping\n",
    "src_dictionary = dict()\n",
    "\n",
    "# Read the vocabulary file\n",
    "with open('vocab.50K.de.txt', encoding='utf-8') as f:\n",
    "    # Read and store every line\n",
    "    for line in f:\n",
    "        #we are discarding last char as it is new line char\n",
    "        src_dictionary[line[:-1]] = len(src_dictionary)\n",
    "\n",
    "# Build a reverse dictionary with the mapping ID -> word string\n",
    "src_reverse_dictionary = dict(zip(src_dictionary.values(),src_dictionary.keys()))\n",
    "\n",
    "# Print some of the words in the dictionary\n",
    "print('Source')\n",
    "print('\\t',list(src_dictionary.items())[:10])\n",
    "print('\\t',list(src_reverse_dictionary.items())[:10])\n",
    "print('\\t','Vocabulary size: ', len(src_dictionary))\n",
    "\n",
    "# ==========================================\n",
    "# Building source language vocabulary\n",
    "\n",
    "# Contains word string -> ID mapping\n",
    "tgt_dictionary = dict()\n",
    "\n",
    "# Read the vocabulary file\n",
    "with open('vocab.50K.en.txt', encoding='utf-8') as f:\n",
    "    # Read and store every line\n",
    "    for line in f:\n",
    "        #we are discarding last char as it is new line char\n",
    "        tgt_dictionary[line[:-1]] = len(tgt_dictionary)\n",
    "\n",
    "# Build a reverse dictionary with the mapping ID -> word string\n",
    "tgt_reverse_dictionary = dict(zip(tgt_dictionary.values(),tgt_dictionary.keys()))\n",
    "\n",
    "# Print some of the words in the dictionary\n",
    "print('Target')\n",
    "print('\\t',list(tgt_dictionary.items())[:10])\n",
    "print('\\t',list(tgt_reverse_dictionary.items())[:10])\n",
    "print('\\t','Vocabulary size: ', len(tgt_dictionary))\n",
    "\n",
    "# Each language has 50000 words\n",
    "vocabulary_size = 50000"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Loading Training and Testing Data\n",
    "\n",
    "Here we load the data in the `newstest2012.de.txt` and `newstest2012.en.txt` files. And split the data in the files into two sets; training and testing data."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Sample translations (250000)\n",
      "( 0 ) DE:  Hier erfahren Sie , wie Sie Creative Suite 2 und Creative Suite 3 am besten zusammen mit QuarkXPress nutzen können .\n",
      "\n",
      "( 0 ) EN:  Here , you ’ ll find out how Creative Suite users can get the best possible interaction with QuarkXPress .\n",
      "\n",
      "( 10000 ) DE:  Für die sehr günstigen Wochen- und Monatskarten ( 1 Monat ca.\n",
      "\n",
      "( 10000 ) EN:  It is THE trendy area of Marseille .\n",
      "\n",
      "( 20000 ) DE:  Freuen Sie sich auf die romantische Atmosphäre in den Zimmern und Apartments .\n",
      "\n",
      "( 20000 ) EN:  Enjoy the romantic atmosphere of one of the guest rooms or apartments .\n",
      "\n",
      "( 30000 ) DE:  Zu zwiespältig sind Dr. Gutherzens Erfahrungen aus frühen Studententagen verlaufen , in denen er sich in die Gefielde von durch Heidegger geprägten Autor / innen begeben hat und dort ständig mit strengem Blick darauf verwiesen wurde , er habe bestimmte Theorieressourcen und Gedankengebäude einfach noch nicht gründlich genug verstanden und könne deshalb nicht begreifen , warum seine Einwände zu bestimmten Texten und Diskursen nicht stichhaltig seien .\n",
      "\n",
      "( 30000 ) EN:  This vagueness lends itself to an idealisation of violence , formulated in concepts of &quot; assault &quot; against imaginary authorities or enthusiastic notions of &quot; blissful traumatic knowledge &quot; .\n",
      "\n",
      "( 40000 ) DE:  Sie veranlassen den untergeordneten Prozess , sich während seiner gesamten Lebensdauer lediglich einmal mit dem SQL ##AT##-##AT## Server zu verbinden , anstatt bei jedem Aufruf einer Seite , die eine Verbindung benötigt .\n",
      "\n",
      "( 40000 ) EN:  They cause the child process to simply connect only once for its entire lifespan , instead of every time it processes a page that requires connecting to the SQL server .\n",
      "\n",
      "( 50000 ) DE:  Je intensiver man dabei bleibt , desto bessere Ergebnisse erzielt man .\n",
      "\n",
      "( 50000 ) EN:  The more intensively you do them , the better the results .\n",
      "\n",
      "( 60000 ) DE:  In allen Zimmern ist Digitalfernsehen und Internetzugang für sowohl Geschäftsreisende als auch Urlauber erhältlich .\n",
      "\n",
      "( 60000 ) EN:  All rooms offer digital TV and Internet access appealing to both corporate and leisure guests .\n",
      "\n",
      "( 70000 ) DE:  Bitte beachten Sie , dass Ihr Check ##AT##-##AT## in ##AT##-##AT## Code nicht mit der Buchungsnummer identisch ist .\n",
      "\n",
      "( 70000 ) EN:  Please note that the check ##AT##-##AT## in number and your reservation number are not the same .\n",
      "\n",
      "( 80000 ) DE:  Auch die Art , wie man einen eigenen Weißabgleich vornehmen kann , darf angepasst werden .\n",
      "\n",
      "( 80000 ) EN:  Another thing that should be reassessed is the way in which the user creates his own white balance .\n",
      "\n",
      "( 90000 ) DE:  Weitere Supportoptionen ( http : / / support.microsoft.com / contactus ) : Stellen Sie Ihre Fragen im Web , wenden Sie sich an Microsoft Support Services , oder teilen Sie uns Ihre Meinung mit .\n",
      "\n",
      "( 90000 ) EN:  Other Support Options ( http : / / support.microsoft.com / default.aspx ? pr = csshome ) : Use the Web to ask a question , contact Microsoft Customer Support Services , or provide feedback .\n",
      "\n",
      "( 100000 ) DE:  Ik vond het geen 4 ##STAR## waard . Het appartement oogde erg schroezelig en gedateerd , personeel sprak erg gebrekkig Engels .\n",
      "\n",
      "( 100000 ) EN:  Trousse d &apos;information manquante et devrait inclure une carte du site ainsi que des services et activités sur les lieu ou dans la commune ainsi les attraits touristiques de la région .\n",
      "\n",
      "( 110000 ) DE:  Dieses Bild spiegelt sich in Ihrem Unternehmen und Ihren Produkten wieder .\n",
      "\n",
      "( 110000 ) EN:  This image reflects on your company and products .\n",
      "\n",
      "( 120000 ) DE:  Alle Zimmer sind mit Digital ##AT##-##AT## TV und DVD und kostenlosem Breitbandanschluss sowie Direktwahltelefon ausgestattet .\n",
      "\n",
      "( 120000 ) EN:  Our rooms include a romantic four ##AT##-##AT## poster and two easy access ground floor rooms . All rooms are equipped to hotel standards with Digital TV and DVD , free broadband connections and free local and national direct dial phones .\n",
      "\n",
      "( 130000 ) DE:  Nothing if im quite honet . I wouldnt stay here again or recommend it to anyone i know .\n",
      "\n",
      "( 130000 ) EN:  the room was basic but spacoius and clean , the staff were friendly and helpful , the food was tasty , all in all , lovely place to stay !\n",
      "\n",
      "( 140000 ) DE:  Es gibt 4 verschiedene Möglichkeiten , Cannon Blast zu Ihrem Blog oder Ihrer Website hinzuzufügen .\n",
      "\n",
      "( 140000 ) EN:  There are 4 different ways of posting Cannon Blast to your blog or website .\n",
      "\n",
      "( 150000 ) DE:  Wenn die Buchung vor 14 : 00 Uhr 3 , Tage vor dem geplanten Anreisetag storniert wird , fällt keine Stornierungsgebühr an .\n",
      "\n",
      "( 150000 ) EN:  There will be no cancellation charge if a booking is cancelled before 14 : 00 3 days before your date of arrival .\n",
      "\n",
      "( 160000 ) DE:  Im geräumigen Hotelrestaurant Al Caminetto kosten Sie Gerichte aus Mailand und aus aller Welt .\n",
      "\n",
      "( 160000 ) EN:  The hotel ’ s restaurant , Al Caminetto , serves Milanese and international cuisine .\n",
      "\n",
      "( 170000 ) DE:  Während der 60 &apos; er Jahre gab es viele Regisseure die in die Wüste von Ameria zogen um , mit der ...\n",
      "\n",
      "( 170000 ) EN:  During the 1960s , numerous movie directors chose Almeria &apos;s desert ##AT##-##AT## like landscape to film some of ...\n",
      "\n",
      "( 180000 ) DE:  Tikje krappe kamer voor het aanwezige meubilair en de lift is absoluut niet meer van deze tijd : veel te klein .\n",
      "\n",
      "( 180000 ) EN:  Chambre minuscule , rien à voir avec les photos présentées , SDB &quot; vieillotte &quot; . Absence totale d &apos;insonorisation : l &apos;intimité de vos voisins de chambre en direct ....... Séjour écourté ......\n",
      "\n",
      "( 190000 ) DE:  Das Großunternehmen sieht sich einfach die Produkte des kleinen Unternehmens an und unterstellt so viele Patentverletzungen , wie es nur geht .\n",
      "\n",
      "( 190000 ) EN:  The large corporation will look at the products of the small company and bring up as many patent infringement assertions as possible .\n",
      "\n",
      "( 200000 ) DE:  Wochentags bis 22 Uhr , Samstags bis 18 Uhr geöffnet . Sehr sympathische Atmosphäre .\n",
      "\n",
      "( 200000 ) EN:  This is an interactive multimedia tour ( choice of languages ) through Weimar &apos;s history from prehistoric times to the present .\n",
      "\n",
      "( 210000 ) DE:  Wann möchten Sie im Entrecercas übernachten ?\n",
      "\n",
      "( 210000 ) EN:  When would you like to stay at the Entrecercas ?\n",
      "\n",
      "( 220000 ) DE:  In der ordentlichen Sitzung am 22. September 2008 befasste sich der Aufsichtsrat mit strategischen Themen aus den einzelnen Geschäftsbereichen wie der Positionierung des Kassamarktes im Wettbewerb mit außerbörslichen Handelsplattformen , den Innovationen im Derivatesegment und verschiedenen Aktivitäten im Nachhandelsbereich .\n",
      "\n",
      "( 220000 ) EN:  At the regular meeting on 22 September 2008 , the Supervisory Board dealt with strategic issues from the various business areas , such as the positioning of the cash market in competition with OTC trading platforms , innovation in the derivatives segment and various post ##AT##-##AT## trading activities .\n",
      "\n",
      "( 230000 ) DE:  Ich hatte keine Sekunde zum Entspannen .\n",
      "\n",
      "( 230000 ) EN:  I never had even one second to relax .\n",
      "\n",
      "( 240000 ) DE:  Das Englisch sprechende Personal steht Ihnen mit Rat und Tat zur Seite , informiert über Sehenswürdigkeiten und arrangiert Ihren Transfer .\n",
      "\n",
      "( 240000 ) EN:  The English ##AT##-##AT## speaking staff are always on hand to make your stay special .\n",
      "\n",
      "Sample test translations (100)\n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "EN:  Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "DE:  Das Hotel Opera befindet sich in der Nähe des Royal Theatre , Kongens Nytorv , &apos; Stroget &apos; und Nyhavn .\n",
      "\n",
      "EN:  Hotel Opera is situated near The Royal Theatre , Kongens Nytorv , &quot; Strøget &quot; and fascinating Nyhavn .\n",
      "\n",
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "EN:  As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "EN:  15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "EN:  It was rather old fashioned in the decoration .\n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "EN:  From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "DE:  Auch ist , so denkt Dr. Gutherz , bereits die erste Seite sehr viel versprechend , da sie eine Definition des klinischen Psychotrauma ##AT##-##AT## Begriffes enthält , der er gänzlich zustimmen kann .\n",
      "\n",
      "EN:  At the rhetorical climax of this summary , Dr Goodheart comes across some sentences expressed with great pathos .\n",
      "\n",
      "DE:  Das Cleddau Bridge Hotel ist der ideale Platz um zu entspannen oder geschäftlich zu reisen .\n",
      "\n",
      "EN:  Cleddau Bridge hotel is the ideal place for those who want a relaxing holiday or who travel for business .\n",
      "\n",
      "DE:  Bei einer digitalen Bildkette wird das Intensitätssignal für jedes Pixel ohne analoge Zwischenschritte direkt in der Detektoreinheit digitalisiert , d.h. in Zahlen umgewandelt .\n",
      "\n",
      "EN:  A digital image chain is an image chain that is equipped with a digital detector instead of an analogue one .\n",
      "\n",
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "EN:  First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n"
     ]
    }
   ],
   "source": [
    "# Contains the training sentences\n",
    "source_sent = [] # Input\n",
    "target_sent = [] # Output\n",
    "\n",
    "# Contains the testing sentences\n",
    "test_source_sent = [] # Input\n",
    "test_target_sent = [] # Output\n",
    "\n",
    "# We grab around 100 lines of data that are interleaved \n",
    "# in the first 50000 sentences\n",
    "test_indices = [l_i for l_i in range(50,50001,500)]\n",
    "\n",
    "# Read the source data file and read the first 250,000 lines (except first 50)\n",
    "with open('train.de', encoding='utf-8') as f:\n",
    "    for l_i, line in enumerate(f):\n",
    "        # discarding first 50 translations as there was some\n",
    "        # english to english mappings found in the first few lines. which are wrong\n",
    "        if l_i<50:\n",
    "            continue\n",
    "        \n",
    "        if len(source_sent)<250000 and l_i not in test_indices:\n",
    "            source_sent.append(line)\n",
    "        elif l_i in test_indices:\n",
    "            test_source_sent.append(line)\n",
    "        \n",
    "# Read the target data file and read the first 250,000 lines (except first 50)            \n",
    "with open('train.en', encoding='utf-8') as f:\n",
    "    for l_i, line in enumerate(f):\n",
    "        # discarding first 50 translations as there was some\n",
    "        # english to english mappings found in the first few lines. which are wrong\n",
    "        if l_i<50:\n",
    "            continue\n",
    "        \n",
    "        if len(target_sent)<250000 and l_i not in test_indices:\n",
    "            target_sent.append(line)\n",
    "        elif l_i in test_indices:\n",
    "            test_target_sent.append(line)\n",
    "        \n",
    "# Make sure we extracted same number of both extracted source and target sentences         \n",
    "assert len(source_sent)==len(target_sent),'Source: %d, Target: %d'%(len(source_sent),len(target_sent))\n",
    "\n",
    "# Print some source sentences\n",
    "print('Sample translations (%d)'%len(source_sent))\n",
    "for i in range(0,250000,10000):\n",
    "    print('(',i,') DE: ', source_sent[i])\n",
    "    print('(',i,') EN: ', target_sent[i])\n",
    "\n",
    "# Print some target sentences\n",
    "print('Sample test translations (%d)'%len(test_source_sent))\n",
    "for i in range(0,100,10):\n",
    "    print('DE: ', test_source_sent[i])\n",
    "    print('EN: ', test_target_sent[i])\n",
    "\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Preprocessing text\n",
    "Here we preprocess the text by replacing words not found in the dictionary with `<unk>` as well as remove punctuation marks (`.`,`,`) and new-line characters."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Source) Sentence mean length:  26.244692\n",
      "(Source) Sentence stddev length:  13.854376414156501\n",
      "(Target) Sentence mean length:  28.275308\n",
      "(Target) Sentence stddev length:  14.925498769057468\n",
      "(Test-Source) Sentence mean length:  26.61\n",
      "(Test-Source) Sentence stddev length:  14.800604717375572\n",
      "(Test-Target) Sentence mean length:  29.08\n",
      "(Test-Target) Sentence stddev length:  16.19424589167399\n"
     ]
    }
   ],
   "source": [
    "# Keep track of how many unknown words were encountered\n",
    "src_unk_count, tgt_unk_count = 0, 0\n",
    "\n",
    "def split_to_tokens(sent,is_source):\n",
    "    '''\n",
    "    This function takes in a sentence (source or target)\n",
    "    and preprocess the sentency with various steps (e.g. removing punctuation)\n",
    "    '''\n",
    "    \n",
    "    global src_unk_count, tgt_unk_count\n",
    "\n",
    "    # Remove punctuation and new-line chars\n",
    "    sent = sent.replace(',',' ,')\n",
    "    sent = sent.replace('.',' .')\n",
    "    sent = sent.replace('\\n',' ') \n",
    "    \n",
    "    sent_toks = sent.split(' ')\n",
    "    for t_i, tok in enumerate(sent_toks):\n",
    "        if is_source:\n",
    "            # src_dictionary contain the word -> word ID mapping for source vocabulary\n",
    "            if tok not in src_dictionary.keys():\n",
    "                if not len(tok.strip())==0:\n",
    "                    sent_toks[t_i] = '<unk>'\n",
    "                    src_unk_count += 1\n",
    "        else:\n",
    "            # tgt_dictionary contain the word -> word ID mapping for target vocabulary\n",
    "            if tok not in tgt_dictionary.keys():\n",
    "                if not len(tok.strip())==0:\n",
    "                    sent_toks[t_i] = '<unk>'\n",
    "                    #print(tok)\n",
    "                    tgt_unk_count += 1\n",
    "    return sent_toks\n",
    "\n",
    "# Let us first look at some statistics of the sentences\n",
    "# Train - source data\n",
    "source_len = []\n",
    "source_mean, source_std = 0,0\n",
    "for sent in source_sent:\n",
    "    source_len.append(len(split_to_tokens(sent,True)))\n",
    "\n",
    "print('(Source) Sentence mean length: ', np.mean(source_len))\n",
    "print('(Source) Sentence stddev length: ', np.std(source_len))\n",
    "\n",
    "# Let us first look at some statistics of the sentences\n",
    "# Train - target data\n",
    "target_len = []\n",
    "for sent in target_sent:\n",
    "    target_len.append(len(split_to_tokens(sent,False)))\n",
    "\n",
    "print('(Target) Sentence mean length: ', np.mean(target_len))\n",
    "print('(Target) Sentence stddev length: ', np.std(target_len))\n",
    "\n",
    "# Let us first look at some statistics of the sentences\n",
    "# Test - source data\n",
    "test_source_len = []\n",
    "for sent in test_source_sent:\n",
    "    test_source_len.append(len(split_to_tokens(sent, True)))\n",
    "    \n",
    "print('(Test-Source) Sentence mean length: ', np.mean(test_source_len))\n",
    "print('(Test-Source) Sentence stddev length: ', np.std(test_source_len))\n",
    "\n",
    "# Let us first look at some statistics of the sentences\n",
    "# Test - target data\n",
    "test_target_len = []\n",
    "test_tgt_mean, test_tgt_std = 0,0\n",
    "for sent in test_target_sent:\n",
    "    test_target_len.append(len(split_to_tokens(sent, False)))\n",
    "    \n",
    "print('(Test-Target) Sentence mean length: ', np.mean(test_target_len))\n",
    "print('(Test-Target) Sentence stddev length: ', np.std(test_target_len))\n",
    "\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Making training and testing data fixed length\n",
    "\n",
    "Here we get all the source sentences and target sentences to a fixed length. This is, so that we can process the sentences as batches."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Processing Training Data ...\n",
      "\n",
      "Unk counts Src: 464223, Tgt: 214783\n",
      "Sentences  250000\n",
      "\t Done processing training data \n",
      "\n",
      "Samples from training data\n",
      "\t ['<s>', 'Hier', 'erfahren', 'Sie', ',', 'wie', 'Sie', 'Creative', 'Suite', '2', 'und', 'Creative', 'Suite', '3', 'am', 'besten', 'zusammen', 'mit', 'QuarkXPress', 'nutzen', 'können', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Here', ',', 'you', '’', 'll', 'find', 'out', 'how', 'Creative', 'Suite', 'users', 'can', 'get', 'the', 'best', 'possible', 'interaction', 'with', 'QuarkXPress', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Sie', 'werden', 'überrascht', 'sein', ',', 'wie', 'einfach', 'sich', 'mit', 'Quark', 'das', 'volle', 'Potenzial', 'Ihrer', 'Design', '##AT##-##AT##', 'Software', 'erschließen', 'lässt', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'You', '’', 'll', 'be', 'surprised', 'how', 'easy', 'Quark', 'has', 'made', 'it', 'to', 'unlock', 'the', 'full', 'potential', 'of', 'all', 'your', 'design', 'software', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Häufig', 'wird', 'die', 'Meinung', 'vertreten', ',', 'dass', 'QuarkXPress', '8', 'von', 'allen', 'heute', 'verfügbaren', 'Layout', '##AT##-##AT##', 'Programmen', 'die', 'beste', 'Integration', 'mit', 'Photoshop', 'über', 'das', 'PSD', '##AT##-##AT##', 'Dateiformat', 'bietet', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'QuarkXPress', '8', 'is', 'considered', 'by', 'many', 'to', 'have', 'the', 'best', 'integration', 'with', 'Photoshop', '’', 's', 'PSD', 'file', 'format', 'of', 'any', 'layout', 'tool', 'available', 'today', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'In', 'diesem', 'Abschnitt', 'erläutern', 'wir', ',', 'wann', 'Sie', 'für', 'Ihre', 'Bilder', 'das', 'PSD', '##AT##-##AT##', 'Format', 'verwenden', 'sollten', 'und', 'wie', 'Sie', 'es', 'für', 'Ihre', 'Bilder', 'optimal', 'nutzen', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'In', 'this', 'section', 'we', '’', 'll', 'explain', 'when', 'you', 'should', 'use', 'the', 'PSD', 'format', 'for', 'your', 'images', 'and', 'how', 'to', 'get', 'the', 'most', 'out', 'of', 'them', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Angenommen', 'Sie', 'haben', 'verschiedene', 'Ebenen', 'in', 'Ihrer', 'PSD', '##AT##-##AT##', 'Datei', 'mit', 'verschiedenen', 'Darstellungen', 'eines', 'Produkts', ',', 'die', 'je', 'nach', 'Verwendungszweck', 'ausgewählt', 'werden', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'For', 'example', ',', 'you', 'may', 'have', 'multiple', 'layers', 'in', 'your', 'PSD', 'with', 'different', 'product', 'shots', ',', 'which', 'will', 'vary', 'from', 'publication', 'to', 'publication', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Wenn', 'Sie', 'mit', 'PSD', 'arbeiten', ',', 'können', 'Sie', 'diese', 'Ebenen', 'in', 'QuarkXPress', 'ein-', 'oder', 'ausschalten', ',', 'ohne', 'für', 'jede', 'Veröffentlichung', 'eine', 'eigene', 'TIFF', '##AT##-##AT##', 'Datei', 'generieren', 'zu', 'müssen', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'If', 'you', 'use', 'PSD', ',', 'you', 'can', 'switch', 'those', 'layers', 'on', 'or', 'off', 'in', 'QuarkXPress', 'without', 'having', 'to', 'save', 'a', 'separate', 'TIFF', 'for', 'each', 'publication', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Eine', 'andere', 'mögliche', 'Frage', 'für', 'die', 'Entscheidung', 'zwischen', 'PSD', 'und', 'TIFF', 'ist', ':', '„', 'Muss', 'ich', 'für', 'dieses', 'Bild', 'eine', '<unk>', 'verwenden', '?', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Another', 'question', 'that', 'might', 'tip', 'you', 'in', 'favor', 'of', 'PSD', 'is', ',', '&quot;', 'Do', 'I', 'need', 'to', 'use', 'a', 'spot', 'color', 'with', 'this', 'image', '?', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', '&quot;', 'In', 'den', 'meisten', '<unk>', 'sind', '<unk>', 'oft', 'problematisch', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', '&quot;', 'Using', 'spot', 'colors', 'in', 'most', 'image', 'formats', 'is', 'often', 'complicated', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Da', 'QuarkXPress', 'jedoch', 'PSD', '##AT##-##AT##', 'Kanäle', 'unterstützt', ',', 'geht', 'es', 'mit', 'PSD', 'einfacher', 'und', 'flexibler', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'However', ',', 'because', 'of', 'the', 'way', 'QuarkXPress', 'supports', 'PSD', 'channels', ',', 'it', '’', 's', 'simpler', 'and', 'more', 'flexible', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Erstellen', 'Sie', 'einen', 'Rahmen', 'und', 'gehen', 'Sie', 'dann', 'auf', 'Datei', '&gt;', 'Importieren', '.', '.', '.', 'oder', 'ziehen', 'Sie', 'das', 'Bild', 'einfach', 'per', 'Drag', '&amp;', 'Drop', 'von', 'Ihrem', 'Desktop', ',', 'aus', 'dem', 'Finder', 'oder', 'einer', 'Anwendung', 'wie', 'Adobe', 'Bridge', '<unk>', '–']\n",
      "\t ['<s>', 'Bringing', 'the', 'PSD', 'files', 'into', 'QuarkXPress', 'is', 'the', 'same', 'as', 'any', 'other', 'image', '.', 'Create', 'a', 'Box', 'and', 'then', 'use', 'File', '&gt;', 'Import', '.', '.', '.', 'or', 'simply', 'drag', 'and', 'drop', 'the', 'image', 'from', 'your', 'desktop', ',', 'Finder', 'or', 'an', 'application', 'like', 'Adobe', 'Bridge', '®', 'with', 'or', 'without', 'creating', 'a', 'box', 'first', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\n",
      "\tSentences  250000\n",
      "Processing testing data ....\n",
      "\n",
      "Unk counts Tgt: 212, Tgt: 107\n",
      "Done processing testing data ....\n",
      "\n",
      "Samples from training data\n",
      "\t ['<s>', 'Heute', 'verstehen', 'sich', 'QuarkXPress', '®', '8', ',', 'Photoshop', '®', 'und', 'Illustrator', '®', 'besser', 'als', 'jemals', 'zuvor', '.', 'Dank', 'HTML', 'und', 'CSS', '\\xad', 'können', 'Anwender', 'von', 'QuarkXPress', 'inzwischen', 'alle', 'Medien', 'bedienen', ',', 'und', 'das', 'unabhängig', 'von', 'Anwendungen', 'der', 'Adobe', '®', 'Creative']\n",
      "\t ['<s>', 'Today', ',', 'QuarkXPress', '®', '8', 'has', 'tighter', 'integration', 'with', 'Photoshop', '®', 'and', 'Illustrator', '®', 'than', 'ever', 'before', ',', 'and', 'through', 'standards', 'like', 'HTML', 'and', 'CSS', ',', 'QuarkXPress', 'users', 'can', 'publish', 'across', 'media', 'both', 'independently', 'and', 'alongside', 'Adobe', '®', 'Creative', 'Suite', '®', 'applications', 'like', 'Adobe', 'Flash', '®', '(', 'SWF', ')', 'and', 'Adobe', 'Dreamweaver', '®', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Je', 'mehr', 'Zeit', 'wir', 'mit', 'Gilad', 'und', 'dem', 'Rest', 'des', 'Teams', 'in', 'Israel', 'verbracht', 'haben', '(', 'um', 'nicht', 'den', 'lauten', 'Hahn', 'zu', 'erwähnen', 'der', '<unk>', 'bei', 'denen', 'über', 'den', 'Campus', '<unk>', ')', 'desto', 'überzeugter', 'waren', 'wir', '–', 'zusammen', 'können', 'wir']\n",
      "\t ['<s>', 'The', 'more', 'time', 'we', 'spent', 'with', 'Gilad', 'as', 'well', 'as', 'the', 'rest', 'of', 'the', 'team', 'in', 'Israel', '(', 'not', 'to', 'mention', 'the', 'very', 'loud', '<unk>', 'that', 'runs', 'around', 'in', 'their', 'campus', ')', ',', 'the', 'more', 'convinced', 'we', 'all', 'became', '-', 'we', '’', 'll', 'be', 'better', 'off', 'together', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', '34', 'Diese', 'a', 'Worte', 'sind', 'wahr', 'und', 'treu', ';', 'darum', '<unk>', 'sie', 'nicht', ',', 'und', 'b', 'nehmt', 'auch', 'nichts', 'davon', 'weg', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', '34', 'These', 'sayings', 'are', 'a', 'true', 'and', 'faithful', ';', 'wherefore', ',', 'transgress', 'them', 'not', ',', 'neither', 'b', 'take', 'therefrom', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', '&#124;', 'Ferienwohnungen', '1', 'Zi', '&#124;', 'Ferienhäuser', '&#124;', 'Landhäuser', '&#124;', 'Autovermietung', '&#124;', 'Last', 'Minute', 'Angebote', '!', '!', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', '&#124;', '1', 'Bedroom', 'Apts', '&#124;', 'Holiday', 'houses', '&#124;', 'Rural', 'Homes', '&#124;', 'Car', 'Rental', '&#124;', 'Last', 'Minute', 'Offers', '!', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Der', '<unk>', 'Teil', 'der', 'Insel', 'besteht', 'aus', 'Granit', 'und', '<unk>', ',', 'von', 'Ton', 'überlagert', ',', 'und', 'bildet', 'eine', 'ca', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'A', 'battle', 'between', 'Denmark', 'and', 'Sweden', 'in', '<unk>', 'led', 'to', 'Swedish', 'control', 'of', 'the', 'island', ',', 'but', 'it', 'was', 'brief', '-', 'they', 'left', 'again', 'the', 'same', 'year', '.', 'In', 'the', '<unk>', 'of', '<unk>', '<unk>', ',', '<unk>', ',', '<unk>', 'and', '<unk>', 'were', 'given', 'to', 'Sweden', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Mag', 'sein', ',', 'dass', 'du', 'deine', 'ersten', '<unk>', 'in', 'einem', '<unk>', ',', '<unk>', 'Kahn', '<unk>', '-', 'aber', 'mit', 'der', 'Zeit', 'wirst', 'du', 'dich', 'zum', '<unk>', '<unk>', 'oder', 'edlen', 'Katamaran', '<unk>', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'You', 'may', 'be', 'starting', 'in', 'a', '<unk>', 'old', 'tub', 'of', 'a', 'boat', ',', 'but', 'in', 'no', 'time', 'at', 'all', 'you', '&apos;ll', 'be', 'able', 'to', 'buy', 'a', 'fancy', '<unk>', ',', 'or', 'a', 'classy', 'catamaran', '.', 'Turn', 'your', 'newfound', 'fame', 'into', 'money', ',', 'and', 'spend', 'it', 'to', 'buy', 'lavish', 'new', 'homes', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'In', 'der', '<unk>', 'im', 'Internet', 'müßte', 'die', 'Zufahrt', 'beschrieben', 'werden', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'There', 'are', 'no', 'adverse', 'comments', 'about', 'this', 'hotel', 'at', 'all', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Ideale', 'Lage', 'für', 'Exkursionen', 'in', 'die', 'Stadt', 'und', 'Nähe', 'zur', 'Promenade', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'There', 'was', 'plenty', 'of', 'space', 'in', 'the', 'room', 'and', 'a', 'nice', 'garden', 'to', 'sit', 'and', 'have', 'a', 'drink', 'and', 'smoke', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Das', 'Hotel', '<unk>', 'verfügt', 'über', 'eine', 'ideale', ',', 'ruhige', 'Lage', 'in', 'einem', 'geschäftigen', 'Viertel', 'mit', 'guter', 'Verkehrsanbindung', '.', 'Der', 'Bahnhof', 'und', 'eine', 'U', '##AT##-##AT##', 'Bahnstation', 'liegen', 'in', 'der', 'Nähe', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Hotel', '<unk>', 'welcomes', 'you', 'to', 'a', 'busy', 'yet', 'quiet', 'area', 'of', 'Milan', ',', 'within', 'walking', 'distance', 'of', 'excellent', 'transport', 'links', ',', 'including', 'the', 'central', 'railway', 'station', 'and', 'the', 'Repubblica', 'metro', 'station', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Zum', 'klimatisierten', 'Hotel', 'gehören', 'auch', 'ein', '<unk>', 'und', 'eine', 'traumhafte', 'Sonnenterrasse', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "\t ['<s>', 'Apart', 'from', 'this', ',', 'the', 'guests', 'can', 'enjoy', 'the', 'facility', 'of', 'an', 'independent', 'air', '##AT##-##AT##', 'conditioning', 'system', ',', 'a', 'jacuzzi', 'and', 'a', 'beautiful', 'sun', 'terrace', '.', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>', '</s>']\n"
     ]
    }
   ],
   "source": [
    "# ================================================================================\n",
    "# Processing training data\n",
    "\n",
    "src_unk_count, tgt_unk_count = 0, 0\n",
    "\n",
    "train_inputs = []\n",
    "train_outputs = []\n",
    "\n",
    "# Chosen based on previously found statistics\n",
    "src_max_sent_length = 41 \n",
    "tgt_max_sent_length = 61\n",
    "\n",
    "print('Processing Training Data ...\\n')\n",
    "for s_i, (src_sent, tgt_sent) in enumerate(zip(source_sent,target_sent)):\n",
    "    # Break source and target sentences to word lists\n",
    "    src_sent_tokens = split_to_tokens(src_sent,True)\n",
    "    tgt_sent_tokens = split_to_tokens(tgt_sent,False)\n",
    "    \n",
    "    # Append <s> token's ID to the beggining of source sentence\n",
    "    num_src_sent = [src_dictionary['<s>']]\n",
    "    # Add the rest of word IDs for words found in the source sentence \n",
    "    for tok in src_sent_tokens:\n",
    "        if tok in src_dictionary.keys():\n",
    "            num_src_sent.append(src_dictionary[tok])\n",
    "\n",
    "    # If the lenghth of the source sentence below the maximum allowed length\n",
    "    # append </s> token's ID to the end\n",
    "    if len(num_src_sent)<src_max_sent_length:\n",
    "        num_src_sent.extend([src_dictionary['</s>'] for _ in range(src_max_sent_length - len(num_src_sent))])\n",
    "\n",
    "    # If the length exceed the maximum allowed length\n",
    "    # truncate the sentence\n",
    "    elif len(num_src_sent)>src_max_sent_length:\n",
    "        num_src_sent = num_src_sent[:src_max_sent_length]\n",
    "        \n",
    "    # Make sure the sentence is of length src_max_sent_length\n",
    "    assert len(num_src_sent)==src_max_sent_length,len(num_src_sent)\n",
    "\n",
    "    train_inputs.append(num_src_sent)\n",
    "    \n",
    "    # Create the numeric target sentence with word IDs\n",
    "    # append <s> to the beginning and append actual words later\n",
    "    num_tgt_sent = [tgt_dictionary['<s>']]\n",
    "    for tok in tgt_sent_tokens:\n",
    "        if tok in tgt_dictionary.keys():\n",
    "            num_tgt_sent.append(tgt_dictionary[tok])\n",
    "        \n",
    "    ## Modifying the outputs such that all the outputs have max_length elements\n",
    "    if len(num_tgt_sent)<tgt_max_sent_length:\n",
    "        num_tgt_sent.extend([tgt_dictionary['</s>'] for _ in range(tgt_max_sent_length - len(num_tgt_sent))])\n",
    "    elif len(num_tgt_sent)>tgt_max_sent_length:\n",
    "        num_tgt_sent = num_tgt_sent[:tgt_max_sent_length]\n",
    "        \n",
    "    train_outputs.append(num_tgt_sent)\n",
    "    \n",
    "print('Unk counts Src: %d, Tgt: %d'%(src_unk_count, tgt_unk_count))\n",
    "print('Sentences ',len(train_inputs))\n",
    "\n",
    "assert len(train_inputs)  == len(source_sent),\\\n",
    "        'Size of total elements: %d, Total sentences: %d'\\\n",
    "                %(len(train_inputs),len(source_sent))\n",
    "\n",
    "# Making inputs and outputs NumPy arrays\n",
    "train_inputs = np.array(train_inputs, dtype=np.int32)\n",
    "train_outputs = np.array(train_outputs, dtype=np.int32)\n",
    "\n",
    "# Make sure number of inputs and outputs dividable by 100\n",
    "train_inputs = train_inputs[:(train_inputs.shape[0]//100)*100,:]\n",
    "train_outputs = train_outputs[:(train_outputs.shape[0]//100)*100,:]\n",
    "print('\\t Done processing training data \\n')\n",
    "\n",
    "# Printing some data\n",
    "print('Samples from training data')\n",
    "for ti in range(10):\n",
    "    print('\\t',[src_reverse_dictionary[w]  for w in train_inputs[ti,:].tolist()])\n",
    "    print('\\t',[tgt_reverse_dictionary[w]  for w in train_outputs[ti,:].tolist()])\n",
    "print()\n",
    "print('\\tSentences ',train_inputs.shape[0])\n",
    "\n",
    "# ================================================================================\n",
    "# Processing Test data\n",
    "\n",
    "src_unk_count, tgt_unk_count = 0, 0\n",
    "print('Processing testing data ....\\n')\n",
    "test_inputs = []\n",
    "test_outputs = []\n",
    "for s_i, (src_sent,tgt_sent) in enumerate(zip(test_source_sent,test_target_sent)):\n",
    "    src_sent_tokens = split_to_tokens(src_sent,True)\n",
    "    tgt_sent_tokens = split_to_tokens(tgt_sent,False)\n",
    "    \n",
    "    num_src_sent = [src_dictionary['<s>']]\n",
    "    for tok in src_sent_tokens:\n",
    "        if tok in src_dictionary.keys():\n",
    "            num_src_sent.append(src_dictionary[tok])\n",
    "    \n",
    "    num_tgt_sent = [src_dictionary['<s>']]\n",
    "    for tok in tgt_sent_tokens:\n",
    "        if tok in tgt_dictionary.keys():\n",
    "            num_tgt_sent.append(tgt_dictionary[tok])\n",
    "        \n",
    "    # Append </s> if the length is not src_max_sent_length\n",
    "    if len(num_src_sent)<src_max_sent_length:\n",
    "        num_src_sent.extend([src_dictionary['</s>'] for _ in range(src_max_sent_length - len(num_src_sent))])\n",
    "    # Truncate the sentence if length is over src_max_sent_length\n",
    "    elif len(num_src_sent)>src_max_sent_length:\n",
    "        num_src_sent = num_src_sent[:src_max_sent_length]\n",
    "        \n",
    "    assert len(num_src_sent)==src_max_sent_length, len(num_src_sent)\n",
    "\n",
    "    test_inputs.append(num_src_sent)\n",
    "    \n",
    "    # Append </s> is length is not tgt_max_sent_length\n",
    "    if len(num_tgt_sent)<tgt_max_sent_length:\n",
    "        num_tgt_sent.extend([tgt_dictionary['</s>'] for _ in range(tgt_max_sent_length - len(num_tgt_sent))])\n",
    "    # Truncate the sentence if length over tgt_max_sent_length\n",
    "    elif len(num_tgt_sent)>tgt_max_sent_length:\n",
    "        num_tgt_sent = num_tgt_sent[:tgt_max_sent_length]\n",
    "        \n",
    "    assert len(num_tgt_sent)==tgt_max_sent_length, len(num_tgt_sent)\n",
    "\n",
    "    test_outputs.append(num_tgt_sent)\n",
    "\n",
    "# Printing some data\n",
    "print('Unk counts Tgt: %d, Tgt: %d'%(src_unk_count, tgt_unk_count))    \n",
    "print('Done processing testing data ....\\n')\n",
    "test_inputs = np.array(test_inputs,dtype=np.int32)\n",
    "test_outputs = np.array(test_outputs,dtype=np.int32)\n",
    "print('Samples from training data')\n",
    "for ti in range(10):\n",
    "    print('\\t',[src_reverse_dictionary[w]  for w in test_inputs[ti,:].tolist()])\n",
    "    print('\\t',[tgt_reverse_dictionary[w]  for w in test_outputs[ti,:].tolist()])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Learning word embeddings\n",
    "\n",
    "In this section, we learn word embeddings for both the languages using the sentences we have. After learning word embeddings, this will create two arrays (`en-embeddings-tmp.npy` and `de-embeddings-tmp.npy`) and store them on disk. To use this in the successive computations, go ahead and change the names to `en-embeddings.npy` and `de-embeddings.npy` respectively. ** You can skip this if you have run the code previously. **"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Total number of training sentences:  250000\n",
      "\n",
      "with window_size = 1:\n",
      "    batch: [['<s>', 'Hotel'], ['<s>', 'Statistik'], ['<s>', 'was'], ['<s>', 'Service'], ['<s>', 'Freunde'], ['<s>', '<unk>'], ['<s>', 'Restaurant'], ['<s>', 'Kosten']]\n",
      "    labels: ['Das', 'Diese', 'There', '<unk>', '<unk>', 'Sowohl', 'Das', 'Die']\n",
      "\n",
      "with window_size = 2:\n",
      "    batch: [['<s>', 'In', 'Nähe', 'des'], ['<s>', 'In', 'ruhigen', 'Straße'], ['<s>', 'Aufgrund', 'günstigen', 'Anbindung'], ['<s>', 'Auf', 'einen', 'Seite'], ['<s>', 'Der', 'Thunfisch', 'ist'], ['<s>', 'It', 's', 'very'], ['<s>', 'Es', 'der', 'Verbrauch'], ['<s>', 'In', 'Restaurants', 'erhalten']]\n",
      "    labels: ['der', 'einer', 'der', 'der', 'Rote', '&apos;', 'wird', 'unseren']\n",
      "Defining 4 embedding lookups representing each word in the context\n",
      "Stacked embedding size: [64, 128, 4]\n",
      "Reduced mean embedding size: [64, 128]\n",
      "WARNING:tensorflow:From /usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/nn_impl.py:1346: softmax_cross_entropy_with_logits (from tensorflow.python.ops.nn_ops) is deprecated and will be removed in a future version.\n",
      "Instructions for updating:\n",
      "\n",
      "Future major versions of TensorFlow will allow gradients to flow\n",
      "into the labels input on backprop by default.\n",
      "\n",
      "See tf.nn.softmax_cross_entropy_with_logits_v2.\n",
      "\n",
      "Initialized\n",
      "Average loss at step 2000: 3.531632\n",
      "Average loss at step 4000: 2.703453\n",
      "Average loss at step 6000: 2.503677\n",
      "Average loss at step 8000: 2.371824\n",
      "Average loss at step 10000: 2.290522\n",
      "Nearest to vom: pro, Nur, wenige, entfernt, internationale, kurzen, abgerechnet, kernel,\n",
      "Nearest to dem: einem, einer, allem, der, zugestimmt, Frankfurt, amazing, Sitz,\n",
      "Nearest to den: einem, Ihrem, Klicken, jeder, einen, entsprechendem, Ausführen, Kompaktkameras,\n",
      "Nearest to (: größere, 1977, Spielerlebnis, Bontempi, Languages, Pedro, Kabel, -,\n",
      "Nearest to ,: wunderbarer, durchdringen, Coffee, werdet, importierte, Rückmeldungen, Electronica, weiß,\n",
      "Nearest to um: Möglichkeiten, interaktive, Konzerten, Formen, Sicherheit, möglichst, Verbringen, gross,\n",
      "Nearest to vor: zugegebenermaßen, fast, Shopping, Priester, Geschäftsleben, Gröden, hinaus, Namen,\n",
      "Nearest to hat: ATI, bietet, Passagieren, Allan, Planen, Kimberley, kann, Angelegenheit,\n",
      "Nearest to wird: ist, gab, Sollte, erhielt, spielte, sexuellem, fasst, läuft,\n",
      "Nearest to er: mein, Strände, 29, schnellere, bemerkenswerte, gesetzt, nun, dies,\n",
      "Nearest to Bürgerinnen: Rückflug, Eigenverantwortung, Wahlergebnis, Schokolade, Kindes, kompromisslose, Baie, Verbraucherinteressen,\n",
      "Nearest to Vertrauen: stand, Hotspot, möchten, Steuerzahler, Rezeption, qualité, gesamten, Formigal,\n",
      "Nearest to Juli: Sommer, Jedesmal, Januar, Jh, 2009, größte, Juni, amerikanische,\n",
      "Nearest to by: the, verzerrt, 1998, Eigentum, Popular, Fur, personell, 345,\n",
      "Nearest to hoch: Korrosion, Links, 1.6, Familie, kommt, Bemerkenswert, Somit, Lügen,\n",
      "Nearest to Datei: Server, Enterprise, Westen, Anzahl, oben, ensuite, Tragen, Details,\n",
      "Nearest to Vertrauen: stand, Hotspot, möchten, Steuerzahler, Rezeption, qualité, gesamten, Formigal,\n",
      "Nearest to Ressourcen: gemeinsame, erste, hoffe, Außerdem, Ruf, Teams, Wohnung, wasn,\n",
      "Nearest to vertreten: vertrauensvoll, Although, Friaul, SARS, Fraktionsvorsitzenden, beziehe, Christoph, berall,\n",
      "Nearest to 2002: gelegenes, Dezember, Überwachen, Günter, Marie, Strände, Fahrkarte, Wasserbecken,\n",
      "Average loss at step 12000: 2.262905\n",
      "Average loss at step 14000: 2.220720\n",
      "Average loss at step 16000: 2.174742\n",
      "Average loss at step 18000: 2.145142\n",
      "Average loss at step 20000: 2.091149\n",
      "Nearest to vom: entfernt, pro, Nur, am, internationale, abgerechnet, bombardieren, Barajas,\n",
      "Nearest to dem: einem, den, unserem, zugestimmt, allem, diesem, seinem, einer,\n",
      "Nearest to den: einen, diesen, einem, entsprechendem, Ausführen, Ihrem, Kontingent, allen,\n",
      "Nearest to (: größere, Kabel, basierten, ·, os, Eigener, Languages, Spielerlebnis,\n",
      "Nearest to ,: durchdringen, importierte, werdet, Straflosigkeit, sensibilisiert, aufleben, Coffee, griff,\n",
      "Nearest to um: Möglichkeiten, Konzerten, möglichst, vorherrscht, vorhandenen, Donald, interaktive, spätestens,\n",
      "Nearest to vor: neben, aufpassen, zugegebenermaßen, Geschäftsleben, fast, Ballsaal, Krieg, Priester,\n",
      "Nearest to hat: Passagieren, ATI, bietet, hatte, Planen, Hat, macht, wurden,\n",
      "Nearest to wird: ist, Sollte, läuft, gab, spielte, erhielt, fantastisches, Sunrise,\n",
      "Nearest to er: dies, mein, Er, sie, nun, abbiegen, gezeigt, behaupten,\n",
      "Nearest to Bürgerinnen: Rückflug, Kindes, Wahlergebnis, Wasserfälle, Schokolade, verbringen, kompromisslose, Eigenverantwortung,\n",
      "Nearest to Vertrauen: Hotspot, Formigal, stand, Tippen, Halten, Steuerzahler, Prozess, Klima,\n",
      "Nearest to Juli: Januar, Juni, März, November, Oktober, April, Mai, August,\n",
      "Nearest to by: the, from, personell, that, Welcome, 345, ungewollt, to,\n",
      "Nearest to hoch: Links, Korrosion, Anwesen, Bemerkenswert, Parkmöglichkeiten, einzigartiger, vieles, spektakulär,\n",
      "Nearest to Datei: Server, Y, Enterprise, Methode, Fundament, String, Fahrten, Demokratie,\n",
      "Nearest to Vertrauen: Hotspot, Formigal, stand, Tippen, Halten, Steuerzahler, Prozess, Klima,\n",
      "Nearest to Ressourcen: hoffe, gemeinsame, nötig, Außerdem, erste, Beiträge, abweichend, Klassiker,\n",
      "Nearest to vertreten: vertrauensvoll, Although, Fraktionsvorsitzenden, Person, Sichtweise, SARS, beziehe, Rente,\n",
      "Nearest to 2002: Dezember, gelegenes, Marie, Überwachen, Günter, 2003, Residence, Copyright,\n",
      "Average loss at step 22000: 2.066839\n",
      "Average loss at step 24000: 2.019844\n",
      "Average loss at step 26000: 1.997303\n",
      "Average loss at step 28000: 1.961839\n",
      "Average loss at step 30000: 1.927680\n",
      "Nearest to vom: entfernt, dem, am, abgerechnet, Vom, Kraftwerken, Barajas, bombardieren,\n",
      "Nearest to dem: einem, seinem, den, unserem, jedem, diesem, vom, Radtour,\n",
      "Nearest to den: diesen, einen, ihren, dem, allen, entsprechendem, einem, Ihren,\n",
      "Nearest to (: ·, os, Eigener, basierten, Kabel, Jim, größere, 1977,\n",
      "Nearest to ,: durchdringen, aufleben, Tatsache, importierte, Assistance, werdet, Straflosigkeit, Zweck,\n",
      "Nearest to um: Möglichkeiten, vorherrscht, Donald, möglichst, Konzerten, nördliche, Tabellen, interaktive,\n",
      "Nearest to vor: fast, neben, aufpassen, Vor, zugegebenermaßen, Reform, Geschäftsleben, Priester,\n",
      "Nearest to hat: hatte, macht, bietet, ATI, Passagieren, Hat, Planen, stellt,\n",
      "Nearest to wird: läuft, spielte, ist, gab, Sollte, kann, werden, Sunrise,\n",
      "Nearest to er: dies, sie, mein, Er, behaupten, gezeigt, es, man,\n",
      "Nearest to Bürgerinnen: Rückflug, verbringen, Wasserfälle, Wahlergebnis, Schokolade, Kindes, IND, Albufera,\n",
      "Nearest to Vertrauen: Steuerzahler, Hotspot, Tippen, zurückkehren, Halten, China, Prospekt, Apartment,\n",
      "Nearest to Juli: Januar, Juni, November, August, Mai, April, März, Oktober,\n",
      "Nearest to by: from, that, the, personell, at, just, to, could,\n",
      "Nearest to hoch: Links, Lügen, gefragt, bleiben, Bemerkenswert, Anwesen, achten, einzigartiger,\n",
      "Nearest to Datei: Server, Y, Enterprise, Netzwerkkarte, zweisprachige, Methode, Schlucht, Zeigt,\n",
      "Nearest to Vertrauen: Steuerzahler, Hotspot, Tippen, zurückkehren, Halten, China, Prospekt, Apartment,\n",
      "Nearest to Ressourcen: hoffe, gemeinsame, Elfenbeinküste, nötig, Klassiker, eFax, Speisen, Beiträge,\n",
      "Nearest to vertreten: vertrauensvoll, Fraktionsvorsitzenden, Although, Sichtweise, SARS, Suppen, Friaul, Person,\n",
      "Nearest to 2002: Dezember, 2003, Marie, Copyright, Juni, 2005, Feb, Neugestaltung,\n",
      "Average loss at step 32000: 1.887929\n"
     ]
    },
    {
     "ename": "KeyboardInterrupt",
     "evalue": "",
     "output_type": "error",
     "traceback": [
      "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
      "\u001b[0;31mKeyboardInterrupt\u001b[0m                         Traceback (most recent call last)",
      "\u001b[0;32m<ipython-input-6-f4f5b44c05c2>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m     23\u001b[0m \u001b[0;31m# Run embedding learning for source language\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     24\u001b[0m \u001b[0;31m# Stores the de-embeddings-tmp.npy into the disk\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 25\u001b[0;31m \u001b[0mword2vec\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun_word2vec_source\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbatch_size\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m     26\u001b[0m \u001b[0;31m# Run embedding learning for target language\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m     27\u001b[0m \u001b[0;31m# Stores the en-embeddings-tmp.npy to the disk\u001b[0m\u001b[0;34m\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m~/docker-thushv-jupyter/packt_nlp_tensorflow/ch10/word2vec.py\u001b[0m in \u001b[0;36mrun_word2vec_source\u001b[0;34m(batch_size)\u001b[0m\n\u001b[1;32m    220\u001b[0m             \u001b[0mbatch_data\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mbatch_labels\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mgenerate_batch_for_word2vec\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mbatch_size\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mwindow_size\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mis_source\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;32mTrue\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    221\u001b[0m             \u001b[0mfeed_dict\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m{\u001b[0m\u001b[0mtrain_dataset\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mbatch_data\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mtrain_labels\u001b[0m\u001b[0;34m:\u001b[0m \u001b[0mbatch_labels\u001b[0m\u001b[0;34m}\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m--> 222\u001b[0;31m             \u001b[0m_\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0ml\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0msession\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mrun\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0moptimizer\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mloss\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfeed_dict\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mfeed_dict\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m    223\u001b[0m             \u001b[0maverage_loss\u001b[0m \u001b[0;34m+=\u001b[0m \u001b[0ml\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    224\u001b[0m             \u001b[0;32mif\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mstep\u001b[0m \u001b[0;34m+\u001b[0m \u001b[0;36m1\u001b[0m\u001b[0;34m)\u001b[0m \u001b[0;34m%\u001b[0m \u001b[0;36m2000\u001b[0m \u001b[0;34m==\u001b[0m \u001b[0;36m0\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py\u001b[0m in \u001b[0;36mrun\u001b[0;34m(self, fetches, feed_dict, options, run_metadata)\u001b[0m\n\u001b[1;32m    903\u001b[0m     \u001b[0;32mtry\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    904\u001b[0m       result = self._run(None, fetches, feed_dict, options_ptr,\n\u001b[0;32m--> 905\u001b[0;31m                          run_metadata_ptr)\n\u001b[0m\u001b[1;32m    906\u001b[0m       \u001b[0;32mif\u001b[0m \u001b[0mrun_metadata\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m    907\u001b[0m         \u001b[0mproto_data\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mtf_session\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mTF_GetBuffer\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mrun_metadata_ptr\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py\u001b[0m in \u001b[0;36m_run\u001b[0;34m(self, handle, fetches, feed_dict, options, run_metadata)\u001b[0m\n\u001b[1;32m   1135\u001b[0m     \u001b[0;32mif\u001b[0m \u001b[0mfinal_fetches\u001b[0m \u001b[0;32mor\u001b[0m \u001b[0mfinal_targets\u001b[0m \u001b[0;32mor\u001b[0m \u001b[0;34m(\u001b[0m\u001b[0mhandle\u001b[0m \u001b[0;32mand\u001b[0m \u001b[0mfeed_dict_tensor\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1136\u001b[0m       results = self._do_run(handle, final_targets, final_fetches,\n\u001b[0;32m-> 1137\u001b[0;31m                              feed_dict_tensor, options, run_metadata)\n\u001b[0m\u001b[1;32m   1138\u001b[0m     \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1139\u001b[0m       \u001b[0mresults\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0;34m[\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py\u001b[0m in \u001b[0;36m_do_run\u001b[0;34m(self, handle, target_list, fetch_list, feed_dict, options, run_metadata)\u001b[0m\n\u001b[1;32m   1353\u001b[0m     \u001b[0;32mif\u001b[0m \u001b[0mhandle\u001b[0m \u001b[0;32mis\u001b[0m \u001b[0;32mNone\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1354\u001b[0m       return self._do_call(_run_fn, self._session, feeds, fetches, targets,\n\u001b[0;32m-> 1355\u001b[0;31m                            options, run_metadata)\n\u001b[0m\u001b[1;32m   1356\u001b[0m     \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1357\u001b[0m       \u001b[0;32mreturn\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_do_call\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0m_prun_fn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mself\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0m_session\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mhandle\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfeeds\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfetches\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py\u001b[0m in \u001b[0;36m_do_call\u001b[0;34m(self, fn, *args)\u001b[0m\n\u001b[1;32m   1359\u001b[0m   \u001b[0;32mdef\u001b[0m \u001b[0m_do_call\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mself\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfn\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1360\u001b[0m     \u001b[0;32mtry\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m-> 1361\u001b[0;31m       \u001b[0;32mreturn\u001b[0m \u001b[0mfn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0margs\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m   1362\u001b[0m     \u001b[0;32mexcept\u001b[0m \u001b[0merrors\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mOpError\u001b[0m \u001b[0;32mas\u001b[0m \u001b[0me\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1363\u001b[0m       \u001b[0mmessage\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mcompat\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mas_text\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0me\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mmessage\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;32m/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py\u001b[0m in \u001b[0;36m_run_fn\u001b[0;34m(session, feed_dict, fetch_list, target_list, options, run_metadata)\u001b[0m\n\u001b[1;32m   1338\u001b[0m         \u001b[0;32melse\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1339\u001b[0m           return tf_session.TF_Run(session, options, feed_dict, fetch_list,\n\u001b[0;32m-> 1340\u001b[0;31m                                    target_list, status, run_metadata)\n\u001b[0m\u001b[1;32m   1341\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m   1342\u001b[0m     \u001b[0;32mdef\u001b[0m \u001b[0m_prun_fn\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0msession\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mhandle\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfeed_dict\u001b[0m\u001b[0;34m,\u001b[0m \u001b[0mfetch_list\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m:\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n",
      "\u001b[0;31mKeyboardInterrupt\u001b[0m: "
     ]
    }
   ],
   "source": [
    "# Total number of sentences\n",
    "tot_sentences = train_inputs.shape[0]\n",
    "print('Total number of training sentences: ',tot_sentences)\n",
    "\n",
    "# we keep a cursor for each sentence in the training set\n",
    "sentence_cursors = [0 for _ in range(tot_sentences)] \n",
    "\n",
    "batch_size = 64\n",
    "embedding_size = 128 # Dimension of the embedding vector.\n",
    "\n",
    "# Defining various things needed by the python script\n",
    "word2vec.define_data_and_hyperparameters(\n",
    "        tot_sentences, src_max_sent_length, tgt_max_sent_length, src_dictionary, tgt_dictionary,\n",
    "        src_reverse_dictionary, tgt_reverse_dictionary, train_inputs, train_outputs, embedding_size,\n",
    "    vocabulary_size)\n",
    "\n",
    "# Print some batches to make sure the data generator is correct\n",
    "word2vec.print_some_batches()\n",
    "\n",
    "# Define TensorFlow ops for learning word embeddings\n",
    "word2vec.define_word2vec_tensorflow(batch_size)\n",
    "\n",
    "# Run embedding learning for source language\n",
    "# Stores the de-embeddings-tmp.npy into the disk\n",
    "word2vec.run_word2vec_source(batch_size)\n",
    "# Run embedding learning for target language\n",
    "# Stores the en-embeddings-tmp.npy to the disk\n",
    "word2vec.run_word2vec_target(batch_size)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Flipping the Input Data\n",
    "Changin the order of the sentence of the target language improves the performance of NMT systems. Because when reversed, it helps the NMT system to establish a strong connection as the last word of the source language and the last word of the target language will be closest to each other. *DON'T RUN THIS MULTIPLE TIMES as running two times gives original.*"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "## Reverse the Germen sentences\n",
    "# Remember reversing the source sentence gives better performance\n",
    "# DON'T RUN THIS MULTIPLE TIMES as running two times gives original\n",
    "train_inputs = np.fliplr(train_inputs)\n",
    "test_inputs = np.fliplr(test_inputs)\n",
    "\n",
    "print('Training and Test source data after flipping ')\n",
    "print('\\t',[src_reverse_dictionary[w] for w in train_inputs[0,:].tolist()])\n",
    "print('\\t',[tgt_reverse_dictionary[w] for w in test_inputs[0,:].tolist()])\n",
    "print()\n",
    "print('\\t',[src_reverse_dictionary[w] for w in train_inputs[10,:].tolist()])\n",
    "print('\\t',[tgt_reverse_dictionary[w] for w in test_inputs[10,:].tolist()])\n",
    "\n",
    "print()\n",
    "print('\\nTesting data after flipping')\n",
    "print('\\t',[src_reverse_dictionary[w] for w in test_inputs[0,:].tolist()])"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Data Generations for MT\n",
    "\n",
    "Now we define the data generator for our NMT."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Source data\n",
      "['Hier', 'Sie', 'Häufig', 'In', 'Angenommen']\n",
      "['erfahren', 'werden', 'wird', 'diesem', 'Sie']\n",
      "['Sie', 'überrascht', 'die', 'Abschnitt', 'haben']\n",
      "[',', 'sein', 'Meinung', 'erläutern', 'verschiedene']\n",
      "['wie', ',', 'vertreten', 'wir', 'Ebenen']\n",
      "['Sie', 'wie', ',', ',', 'in']\n",
      "['Creative', 'einfach', 'dass', 'wann', 'Ihrer']\n",
      "['Suite', 'sich', 'QuarkXPress', 'Sie', 'PSD']\n",
      "['2', 'mit', '8', 'für', '##AT##-##AT##']\n",
      "['und', 'Quark', 'von', 'Ihre', 'Datei']\n",
      "['Creative', 'das', 'allen', 'Bilder', 'mit']\n",
      "['Suite', 'volle', 'heute', 'das', 'verschiedenen']\n",
      "['3', 'Potenzial', 'verfügbaren', 'PSD', 'Darstellungen']\n",
      "['am', 'Ihrer', 'Layout', '##AT##-##AT##', 'eines']\n",
      "['besten', 'Design', '##AT##-##AT##', 'Format', 'Produkts']\n",
      "['zusammen', '##AT##-##AT##', 'Programmen', 'verwenden', ',']\n",
      "['mit', 'Software', 'die', 'sollten', 'die']\n",
      "['QuarkXPress', 'erschließen', 'beste', 'und', 'je']\n",
      "['nutzen', 'lässt', 'Integration', 'wie', 'nach']\n",
      "['können', '.', 'mit', 'Sie', 'Verwendungszweck']\n",
      "\n",
      "Target data batch\n",
      "['Here', 'QuarkXPress', 'In', 'For', 'If']\n",
      "[',', '8', 'this', 'example', 'you']\n",
      "['you', 'is', 'section', ',', 'use']\n",
      "['’', 'considered', 'we', 'you', 'PSD']\n",
      "['ll', 'by', '’', 'may', ',']\n",
      "['find', 'many', 'll', 'have', 'you']\n",
      "['out', 'to', 'explain', 'multiple', 'can']\n",
      "['how', 'have', 'when', 'layers', 'switch']\n",
      "['Creative', 'the', 'you', 'in', 'those']\n",
      "['Suite', 'best', 'should', 'your', 'layers']\n",
      "['users', 'integration', 'use', 'PSD', 'on']\n",
      "['can', 'with', 'the', 'with', 'or']\n",
      "['get', 'Photoshop', 'PSD', 'different', 'off']\n",
      "['the', '’', 'format', 'product', 'in']\n",
      "['best', 's', 'for', 'shots', 'QuarkXPress']\n",
      "['possible', 'PSD', 'your', ',', 'without']\n",
      "['interaction', 'file', 'images', 'which', 'having']\n",
      "['with', 'format', 'and', 'will', 'to']\n",
      "['QuarkXPress', 'of', 'how', 'vary', 'save']\n",
      "['.', 'any', 'to', 'from', 'a']\n",
      "['</s>', 'layout', 'get', 'publication', 'separate']\n",
      "['</s>', 'tool', 'the', 'to', 'TIFF']\n",
      "['</s>', 'available', 'most', 'publication', 'for']\n",
      "['</s>', 'today', 'out', '.', 'each']\n",
      "['</s>', '.', 'of', '</s>', 'publication']\n",
      "['</s>', '</s>', 'them', '</s>', '.']\n",
      "['</s>', '</s>', '.', '</s>', '</s>']\n",
      "['</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "['</s>', '</s>', '</s>', '</s>', '</s>']\n",
      "['</s>', '</s>', '</s>', '</s>', '</s>']\n"
     ]
    }
   ],
   "source": [
    "input_size = embedding_size\n",
    "\n",
    "class DataGeneratorMT(object):\n",
    "    \n",
    "    def __init__(self,batch_size,num_unroll,is_source, is_train):\n",
    "        # Number of data points in a batch\n",
    "        self._batch_size = batch_size\n",
    "        # Number of unrollings\n",
    "        self._num_unroll = num_unroll\n",
    "        # Cursors for each element in batch\n",
    "        self._cursor = [0 for offset in range(self._batch_size)]\n",
    "        \n",
    "        # Loading the learnt word embeddings\n",
    "        self._src_word_embeddings = np.load('de-embeddings.npy')\n",
    "        self._tgt_word_embeddings = np.load('en-embeddings.npy')\n",
    "        \n",
    "        # The sentence IDs being currently processed to create the \n",
    "        # current batch\n",
    "        self._sent_ids = None\n",
    "        \n",
    "        # We want a batch of data from source or target?\n",
    "        self._is_source = is_source\n",
    "        # Is this training or testing data?\n",
    "        self._is_train = is_train\n",
    "                \n",
    "    def next_batch(self, sent_ids):\n",
    "        \n",
    "        # Depending on wheter we want source or target data\n",
    "        # change the maximum sentence length\n",
    "        if self._is_source:\n",
    "            max_sent_length = src_max_sent_length\n",
    "        else:\n",
    "            max_sent_length = tgt_max_sent_length\n",
    "            \n",
    "        # Arrays to hold input and output data\n",
    "        # Word embeddings (current word)\n",
    "        batch_data = np.zeros((self._batch_size,input_size),dtype=np.float32)\n",
    "        # One-hot encoded label (next word)\n",
    "        batch_labels = np.zeros((self._batch_size,vocabulary_size),dtype=np.float32)\n",
    "        \n",
    "        \n",
    "        # Populate each index of the batch\n",
    "        for b in range(self._batch_size):\n",
    "            \n",
    "            # Sentence IDs to get data from\n",
    "            sent_id = sent_ids[b]\n",
    "            \n",
    "            # If generating data with source sentences\n",
    "            # use src_word_embeddings\n",
    "            if self._is_source:\n",
    "                # Depending on whether we need training data or testind data\n",
    "                # choose the previously created training or testind data\n",
    "                if self._is_train:\n",
    "                    sent_text = train_inputs[sent_id]\n",
    "                else:\n",
    "                    sent_text = test_inputs[sent_id]\n",
    "                             \n",
    "                # Populate the batch data arrays\n",
    "                batch_data[b] = self._src_word_embeddings[sent_text[self._cursor[b]],:]\n",
    "                batch_labels[b] = np.zeros((vocabulary_size),dtype=np.float32)\n",
    "                batch_labels[b,sent_text[self._cursor[b]+1]] = 1.0\n",
    "            # If generating data with target sentences\n",
    "            # use tgt_word_embeddings\n",
    "            else:\n",
    "                # Depending on whether we need training data or testind data\n",
    "                # choose the previously created training or testind data\n",
    "                if self._is_train:\n",
    "                    sent_text = train_outputs[sent_id]\n",
    "                else:\n",
    "                    sent_text = test_outputs[sent_id]\n",
    "                \n",
    "                # We cannot avoid having two different embedding vectors for <s> token\n",
    "                # in soruce and target languages\n",
    "                # Therefore, if the symbol appears, we always take the source embedding vector\n",
    "                if sent_text[self._cursor[b]]!=tgt_dictionary['<s>']:\n",
    "                    batch_data[b] = self._tgt_word_embeddings[sent_text[self._cursor[b]],:]\n",
    "                else:\n",
    "                    batch_data[b] = self._src_word_embeddings[sent_text[self._cursor[b]],:]\n",
    "                \n",
    "                # Populate the data arrays\n",
    "                batch_labels[b] = np.zeros((vocabulary_size),dtype=np.float32)\n",
    "                batch_labels[b,sent_text[self._cursor[b]+1]] = 1.0\n",
    "            \n",
    "            # Update the cursor for each batch index\n",
    "            self._cursor[b] = (self._cursor[b]+1)%(max_sent_length-1)\n",
    "             \n",
    "        return batch_data,batch_labels\n",
    "        \n",
    "    def unroll_batches(self,sent_ids):\n",
    "        \n",
    "        # Only if new sentence IDs if provided\n",
    "        # else it will use the previously defined \n",
    "        # sent_ids continuously\n",
    "        if sent_ids is not None:\n",
    "            \n",
    "            self._sent_ids = sent_ids\n",
    "            # Unlike in the previous exercises we do not process a single sequence\n",
    "            # over many iterations of unrollings. We process either a source sentence or target sentence\n",
    "            # at a single go. So we reset the _cursor evrytime we generate a batch\n",
    "            self._cursor = [0 for _ in range(self._batch_size)]\n",
    "                \n",
    "        unroll_data,unroll_labels = [],[]\n",
    "        \n",
    "        # Unrolling data over time\n",
    "        for ui in range(self._num_unroll):\n",
    "            \n",
    "            if self._is_source:\n",
    "                data, labels = self.next_batch(self._sent_ids)\n",
    "            else:\n",
    "                data, labels = self.next_batch(self._sent_ids)\n",
    "                    \n",
    "            unroll_data.append(data)\n",
    "            unroll_labels.append(labels)\n",
    "        \n",
    "        # Return unrolled data and sentence IDs\n",
    "        return unroll_data, unroll_labels, self._sent_ids\n",
    "    \n",
    "    def reset_indices(self):\n",
    "        self._cursor = [0 for offset in range(self._batch_size)]\n",
    "        \n",
    "# Running a tiny set to see if the implementation correct\n",
    "dg = DataGeneratorMT(batch_size=5,num_unroll=20,is_source=True, is_train=True)\n",
    "u_data, u_labels, _ = dg.unroll_batches([0,1,2,3,4])\n",
    "\n",
    "print('Source data')\n",
    "for _, lbl in zip(u_data,u_labels):\n",
    "    # the the string words for returned word IDs and display the results\n",
    "    print([src_reverse_dictionary[w] for w in np.argmax(lbl,axis=1).tolist()])\n",
    "\n",
    "        # Running a tiny set to see if the implementation correct\n",
    "dg = DataGeneratorMT(batch_size=5,num_unroll=30,is_source=False, is_train=True)\n",
    "u_data, u_labels, _ = dg.unroll_batches([0,2,3,4,5])\n",
    "print('\\nTarget data batch')\n",
    "for d_i,(_, lbl) in enumerate(zip(u_data,u_labels)):\n",
    "    # the the string words for returned word IDs and display the results\n",
    "    print([tgt_reverse_dictionary[w] for w in np.argmax(lbl,axis=1).tolist()])\n",
    "\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Defining the NMT with TensorFlow\n",
    "Now let us define various operations parameters hyperparameters needed to define our NMT model. First we define the hyperparameters, then input/output placeholders, the LSTM/Output layer parameters, LSTM/output computations, and finally optimization steps."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Defining hyperparameters\n",
    "Here we define various hyperparameters we use to define our model."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "tgt_emb_mat = np.load('en-embeddings.npy')\n",
    "input_size = tgt_emb_mat.shape[1]\n",
    "\n",
    "num_nodes = 128\n",
    "batch_size = 10\n",
    "\n",
    "# We unroll the full length at one go\n",
    "# both source and target sentences\n",
    "enc_num_unrollings = 40\n",
    "dec_num_unrollings = 60\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Defining Input/Output Placeholders\n",
    "Here we define the placeholder to feed in inputs/outputs. Additionally we define a mask placeholder that can mask certain outputs from the loss calculation."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Defining encoder data placeholders\n",
      "Defining decoder data placeholders\n",
      "\tDone\n"
     ]
    }
   ],
   "source": [
    "tf.reset_default_graph()\n",
    "\n",
    "# Target embeddings are needed to compute the test outputs\n",
    "tgt_word_embeddings = tf.convert_to_tensor(tgt_emb_mat,name='tgt_embeddings')\n",
    "\n",
    "print('Defining encoder data placeholders')\n",
    "\n",
    "# Training Input placeholders (Encoder)\n",
    "# Encoder related input data, we directly feed in the embeddings\n",
    "enc_train_inputs = []\n",
    "\n",
    "# Defining unrolled training inputs\n",
    "for ui in range(enc_num_unrollings):\n",
    "    enc_train_inputs.append(tf.placeholder(tf.float32, shape=[batch_size,input_size],name='train_inputs_%d'%ui))\n",
    "    \n",
    "print('Defining decoder data placeholders')\n",
    "# Training Input/Output/Mask data (Decoder)\n",
    "# Decoder inputs and outputs\n",
    "dec_train_inputs, dec_train_labels = [],[]\n",
    "# We use masking to mask out the any of the </s> elements\n",
    "# from the loss computation in the decoder\n",
    "dec_train_masks = []\n",
    "\n",
    "# Defining unrolled training inputs\n",
    "for ui in range(dec_num_unrollings):\n",
    "    dec_train_inputs.append(tf.placeholder(tf.float32, shape=[batch_size,input_size],name='dec_train_inputs_%d'%ui))\n",
    "    dec_train_labels.append(tf.placeholder(tf.float32, shape=[batch_size,vocabulary_size], name = 'dec_train_labels_%d'%ui))\n",
    "    dec_train_masks.append(tf.placeholder(tf.float32, shape=[batch_size,1],name='dec_train_masks_%d'%ui))\n",
    "\n",
    "    \n",
    "enc_test_input = [tf.placeholder(tf.float32, shape=[batch_size,input_size], name='test_input_%d'%ui) for ui in range(enc_num_unrollings)]\n",
    "dec_test_input = tf.nn.embedding_lookup(tgt_word_embeddings,[tgt_dictionary['<s>']])\n",
    "print('\\tDone')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Defining the Encoder Model\n",
    "\n",
    "We define the encoder model. The encoder model is a single LSTM cell with TensorFlow variables for the state and output variables."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Defining Encoder Parameters\n",
      "\tDone\n"
     ]
    }
   ],
   "source": [
    "print('Defining Encoder Parameters')\n",
    "with tf.variable_scope('Encoder'):\n",
    "    \n",
    "    # Input gate (i_t) - How much memory to write to cell state\n",
    "    # We use xavier intialization as this gives better results \n",
    "    enc_ix = tf.get_variable('ix',shape=[input_size, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    enc_im = tf.get_variable('im',shape=[num_nodes, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    enc_ib = tf.Variable(tf.random_uniform([1, num_nodes],-0.05, 0.05),name='ib')\n",
    "    \n",
    "    # Forget gate (f_t) - How much memory to discard from cell state\n",
    "    enc_fx = tf.get_variable('fx',shape=[input_size, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    enc_fm = tf.get_variable('fm',shape=[num_nodes, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    enc_fb = tf.Variable(tf.random_uniform([1, num_nodes],-0.05, 0.05),name='fb')\n",
    "    \n",
    "    # Candidate value (c~_t) - Used to compute the current cell state                            \n",
    "    enc_cx = tf.get_variable('cx',shape=[input_size, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    enc_cm = tf.get_variable('cm',shape=[num_nodes, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    enc_cb = tf.Variable(tf.random_uniform([1, num_nodes],-0.05,0.05),name='cb') \n",
    "    \n",
    "    # Output gate - How much memory to output from the cell state\n",
    "    enc_ox = tf.get_variable('ox',shape=[input_size, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    enc_om = tf.get_variable('om',shape=[num_nodes, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    enc_ob = tf.Variable(tf.random_uniform([1, num_nodes],-0.05,0.05),name='ob') \n",
    "    \n",
    "    # Variables saving state across unrollings (testing).\n",
    "    saved_output = tf.Variable(tf.zeros([batch_size, num_nodes]), trainable=False, name='train_output')\n",
    "    saved_state = tf.Variable(tf.zeros([batch_size, num_nodes]), trainable=False, name = 'train_cell')\n",
    "    \n",
    "    saved_test_output = tf.Variable(tf.zeros([batch_size, num_nodes]),trainable=False, name='test_output')\n",
    "    saved_test_state = tf.Variable(tf.zeros([batch_size, num_nodes]),trainable=False, name='test_cell')\n",
    "\n",
    "print('\\tDone')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Defining the Decoder Model\n",
    "\n",
    "Decoder is a single LSTM cell with an additional softmax layer that can predict words."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Defining Decoder Parameters\n",
      "\tDone\n"
     ]
    }
   ],
   "source": [
    "print('Defining Decoder Parameters')\n",
    "with tf.variable_scope('Decoder'):\n",
    "    \n",
    "    # Input gate (i_t) - How much memory to write to cell state\n",
    "    # We use xavier intialization as this gives better results\n",
    "    dec_ix = tf.get_variable('ix',shape=[input_size, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    dec_im = tf.get_variable('im',shape=[num_nodes, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    dec_ib = tf.Variable(tf.random_uniform([1, num_nodes],-0.05, 0.05),name='ib')    \n",
    "    \n",
    "    # Forget gate (f_t) - How much memory to discard from cell state\n",
    "    dec_fx = tf.get_variable('fx',shape=[input_size, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    dec_fm = tf.get_variable('fm',shape=[num_nodes, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    dec_fb = tf.Variable(tf.random_uniform([1, num_nodes],-0.05, 0.05),name='fb')    \n",
    "    \n",
    "    # Candidate value (c~_t) - Used to compute the current cell state                             \n",
    "    dec_cx = tf.get_variable('cx',shape=[input_size, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    dec_cm = tf.get_variable('cm',shape=[num_nodes, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    dec_cb = tf.Variable(tf.random_uniform([1, num_nodes],-0.05,0.05),name='cb')     \n",
    "    \n",
    "    # Output gate - How much memory to output from the cell state\n",
    "    dec_ox = tf.get_variable('ox',shape=[input_size, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    dec_om = tf.get_variable('om',shape=[num_nodes, num_nodes],\n",
    "                             initializer = tf.contrib.layers.xavier_initializer())\n",
    "    dec_ob = tf.Variable(tf.random_uniform([1, num_nodes],-0.05,0.05),name='ob') \n",
    "    \n",
    "    # Softmax Classifier weights and biases.\n",
    "    # If we are using sampled softmax loss, the weights dims shouldbe [50000, 64]\n",
    "    # If not, then [64, 50000]\n",
    "    w = tf.get_variable('softmax_weights',shape=[num_nodes, vocabulary_size], \n",
    "                        initializer = tf.contrib.layers.xavier_initializer())\n",
    "    b = tf.Variable(tf.random_uniform([vocabulary_size],-0.05,-0.05),name='softmax_bias')\n",
    "\n",
    "print('\\tDone')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Defining LSTM Computations\n",
    "\n",
    "Here we first define two function `enc_lstm_cell` and `dec_lstm_cell` which define the LSTM cell computations we discussed in early chapters. Next we define the computations to compute the final state variables of the encoder, feeding that into the decoder as the intial state and finally computing the LSTM output, logit values and the predictions."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Calculating Encoder Output\n",
      "Calculating Decoder Output\n",
      "\tDone\n"
     ]
    }
   ],
   "source": [
    "# Definition of the cell computation (Encoder)\n",
    "def enc_lstm_cell(i, o, state):\n",
    "    \"\"\"Create a LSTM cell\"\"\"\n",
    "    input_gate = tf.sigmoid(tf.matmul(i, enc_ix) + tf.matmul(o, enc_im) + enc_ib)\n",
    "    forget_gate = tf.sigmoid(tf.matmul(i, enc_fx) + tf.matmul(o, enc_fm) + enc_fb)\n",
    "    update = tf.matmul(i, enc_cx) + tf.matmul(o, enc_cm) + enc_cb\n",
    "    state = forget_gate * state + input_gate * tf.tanh(update)\n",
    "    output_gate = tf.sigmoid(tf.matmul(i, enc_ox) + tf.matmul(o, enc_om) + enc_ob)\n",
    "    return output_gate * tf.tanh(state), state\n",
    "\n",
    "# Definition of the cell computation (Decoder)\n",
    "def dec_lstm_cell(i, o, state):\n",
    "    \"\"\"Create a LSTM cell\"\"\"\n",
    "    input_gate = tf.sigmoid(tf.matmul(i, dec_ix) + tf.matmul(o, dec_im) + dec_ib)\n",
    "    forget_gate = tf.sigmoid(tf.matmul(i, dec_fx) + tf.matmul(o, dec_fm) + dec_fb)\n",
    "    update = tf.matmul(i, dec_cx) + tf.matmul(o, dec_cm) + dec_cb\n",
    "    state = forget_gate * state + input_gate * tf.tanh(update)\n",
    "    output_gate = tf.sigmoid(tf.matmul(i, dec_ox) + tf.matmul(o, dec_om) + dec_ob)\n",
    "    return output_gate * tf.tanh(state), state\n",
    "\n",
    "# ================================================\n",
    "# Training inference logic\n",
    "# Holds the outputs of the all unrolled LSTM steps\n",
    "outputs = list()\n",
    "\n",
    "# Initialize the output and state variables\n",
    "# with zeros and iteratively update these two \n",
    "# variables with the LSTM's output and state\n",
    "output = saved_output\n",
    "state = saved_state\n",
    "\n",
    "print('Calculating Encoder Output')\n",
    "# Update the output and state of the encoder iteratively\n",
    "for i in enc_train_inputs:\n",
    "    output, state = enc_lstm_cell(i, output,state)\n",
    "\n",
    "\n",
    "print('Calculating Decoder Output')\n",
    "# With the computations of the enc_lstm_cell done,\n",
    "# calculate the output and state of the decoder\n",
    "with tf.control_dependencies([saved_output.assign(output),\n",
    "                             saved_state.assign(state)]):\n",
    "    # Calculate the decoder state and output iteratively\n",
    "    for i in dec_train_inputs:\n",
    "        output, state = dec_lstm_cell(i, output, state)\n",
    "        outputs.append(output)\n",
    "\n",
    "# Calculate the logits of the decoder for all unrolled steps\n",
    "logits = tf.matmul(tf.concat(axis=0, values=outputs), w) + b\n",
    "    \n",
    "# Predictions from the decoder\n",
    "train_prediction = tf.nn.softmax(logits)\n",
    "\n",
    "# ===================================================\n",
    "# Testing related inference logic\n",
    "# We calculate the test predictions for the maximum \n",
    "# num_unrollings allowed for target language\n",
    "test_output  = saved_test_output\n",
    "test_state = saved_test_state\n",
    "\n",
    "test_predictions = []\n",
    "\n",
    "# Compute the encoder output iteratively\n",
    "for i in enc_test_input:\n",
    "    test_output, test_state = enc_lstm_cell(i, test_output,test_state)\n",
    "\n",
    "# Compute the decoder output iteratively\n",
    "# where the input is whatever the previously output word's embedding\n",
    "with tf.control_dependencies([saved_test_output.assign(test_output),\n",
    "                                 saved_test_state.assign(test_state)]):\n",
    "    for i in range(dec_num_unrollings):\n",
    "\n",
    "        test_output, test_state = dec_lstm_cell(dec_test_input, test_output, test_state)\n",
    "\n",
    "        test_prediction = tf.nn.softmax(tf.nn.xw_plus_b(test_output, w, b))\n",
    "        \n",
    "        dec_test_input = tf.nn.embedding_lookup(tgt_word_embeddings,tf.argmax(test_prediction,axis=1))\n",
    "        test_predictions.append(tf.argmax(test_prediction,axis=1))\n",
    "\n",
    "print('\\tDone')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Calculating the Loss\n",
    "\n",
    "Here we calculate the loss. Loss is calculated by summing all the losses obtained across the time axis and averagin over the batch axis."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Calculating Loss\n"
     ]
    }
   ],
   "source": [
    "print('Calculating Loss')\n",
    "\n",
    "# No need for a tf.contro_dependencies(...) clause here\n",
    "# Because we restart the state anyway after each sentence batch\n",
    "loss_batch = tf.concat(axis=0,values=dec_train_masks)*tf.nn.softmax_cross_entropy_with_logits_v2(\n",
    "    logits=logits, labels=tf.concat(axis=0, values=dec_train_labels))\n",
    "loss = tf.reduce_mean(loss_batch)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Optimizer\n",
    "We define the model optimization specific operations. We use two optimizers here; Adam and SGD. I observed that using Adam only cause the model to exhibit some undesired behaviors in the long run. Therefore we use Adam to get a good initial estimate for the SGD and use SGD from that point onwards."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 14,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Defining Optimizers\n",
      "\tDone\n"
     ]
    }
   ],
   "source": [
    "print('Defining Optimizers')\n",
    "# These are used to decay learning rate over time\n",
    "global_step = tf.Variable(0, trainable=False)\n",
    "inc_gstep = tf.assign(global_step,global_step + 1)\n",
    "# We use two optimizers, when the optimizer changes\n",
    "# we reset the global step\n",
    "reset_gstep = tf.assign(global_step,0)\n",
    "\n",
    "# Calculate decaying learning rate\n",
    "learning_rate = tf.maximum(\n",
    "    tf.train.exponential_decay(\n",
    "        0.005, global_step, decay_steps=1, decay_rate=0.95, staircase=True\n",
    "    ), 0.00001)\n",
    "\n",
    "sgd_learning_rate = tf.maximum(\n",
    "    tf.train.exponential_decay(\n",
    "        0.005, global_step, decay_steps=1, decay_rate=0.95, staircase=True\n",
    "    ), 0.00001)\n",
    "\n",
    "# We use two optimizers: Adam and naive SGD\n",
    "# using Adam in the long run produced undesirable results \n",
    "# (e.g.) sudden fluctuations in BLEU\n",
    "# Therefore we use Adam to get a good starting point for optimizing\n",
    "# and then switch to SGD from that point onwards\n",
    "with tf.variable_scope('Adam'):\n",
    "    optimizer = tf.train.AdamOptimizer(learning_rate)\n",
    "with tf.variable_scope('SGD'):\n",
    "    sgd_optimizer = tf.train.GradientDescentOptimizer(sgd_learning_rate)\n",
    "\n",
    "# Calculates gradients with clipping for Adam\n",
    "gradients, v = zip(*optimizer.compute_gradients(loss))\n",
    "gradients, _ = tf.clip_by_global_norm(gradients, 5.0)\n",
    "optimize = optimizer.apply_gradients(zip(gradients, v))\n",
    "\n",
    "# Calculates gradients with clipping for SGD\n",
    "sgd_gradients, v = zip(*sgd_optimizer.compute_gradients(loss))\n",
    "sgd_gradients, _ = tf.clip_by_global_norm(sgd_gradients, 5.0)\n",
    "sgd_optimize = optimizer.apply_gradients(zip(sgd_gradients, v))\n",
    "\n",
    "# Make sure gradients exist flowing from decoder to encoder\n",
    "for (g_i,v_i) in zip(gradients,v):\n",
    "    assert g_i is not None, 'Gradient none for %s'%(v_i.name)\n",
    "    \n",
    "print('\\tDone')"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Resetting Train and Test States\n",
    "We here define the state resetting functions"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "\n",
    "# Reset training state\n",
    "reset_train_state = tf.group(tf.assign(saved_output, tf.zeros([batch_size, num_nodes])),\n",
    "                             tf.assign(saved_state, tf.zeros([batch_size, num_nodes]))\n",
    "                            )\n",
    "\n",
    "reset_test_state = tf.group(\n",
    "    saved_test_output.assign(tf.zeros([batch_size, num_nodes])),\n",
    "    saved_test_state.assign(tf.zeros([batch_size, num_nodes]))\n",
    "                             )\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    " ## Running the Neural Machine Translator\n",
    " \n",
    " With all the relevant TensorFlow operations defined we move on to defining several functions related to executing our NMT model as well as runnning the model to obtain translations for previously unseen source sentences."
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Functions for Evaulating and Printing Results\n",
    "\n",
    "Next we define two functions to print and save the prediction results for training data as well as testing data, and finally define a function to obtain candidate and reference data to calculate the BLEU score."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 23,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def print_and_save_train_predictions(du_labels, tr_pred, rand_idx, train_prediction_text_fname):\n",
    "    '''\n",
    "    Use this to print some predicted training samples and save it to file\n",
    "    du_labels: Decoder's unrolled labels (this is a list of dec_num_unrollings \n",
    "    where each item is [batch_size, vocabulary_size])\n",
    "    tr_pred: This is an array [dec_num_unrollings*batch_size, vocabulary_size] array\n",
    "    rand_idx: Some random index we use to pick a data point to print\n",
    "    train_prediction_text_fname: The file we save the prediction results into\n",
    "    '''\n",
    "\n",
    "    # This print_str will be written to the text file as well as printed here\n",
    "    print_str = 'Actual: ' \n",
    "    \n",
    "    # We can get each label corresponding to some sentence by traversing the\n",
    "    # concatenated labels array ([dec_num_unrollings*batch_size, vocabulary_size])\n",
    "    # with a batch_size stride\n",
    "    for w in np.argmax(np.concatenate(du_labels,axis=0)[rand_idx::batch_size],axis=1).tolist():\n",
    "        # Update the print_str\n",
    "        print_str += tgt_reverse_dictionary[w] + ' '\n",
    "        # When we encounter the end of sentence </s> we stop printing\n",
    "        if tgt_reverse_dictionary[w] == '</s>':\n",
    "            break\n",
    "    print(print_str)\n",
    "    \n",
    "    # Write to file\n",
    "    with open(os.path.join(log_dir, train_prediction_text_fname),'a',encoding='utf-8') as fa:                \n",
    "        fa.write(print_str+'\\n')  \n",
    "\n",
    "    # Now print the predicted data by following the same procedure as above\n",
    "    print()\n",
    "    print_str = 'Predicted: '\n",
    "    for w in np.argmax(tr_pred[rand_idx::batch_size],axis=1).tolist():\n",
    "        print_str += tgt_reverse_dictionary[w] + ' '\n",
    "        # When we encounter the end of sentence </s> we stop printing\n",
    "        if tgt_reverse_dictionary[w] == '</s>':\n",
    "            break\n",
    "    print(print_str)\n",
    "    with open(os.path.join(log_dir, train_prediction_text_fname),'a',encoding='utf-8') as fa:                \n",
    "        fa.write(print_str+'\\n')    \n",
    "    \n",
    "    \n",
    "def print_and_save_test_predictions(test_du_labels, test_pred_unrolled, batch_id, test_rand_idx, test_prediction_text_fname):\n",
    "    '''\n",
    "    Use this to print some predicted training samples and save it to file\n",
    "    test_du_labels: Decoder's unrolled labels (this is a list of dec_num_unrollings \n",
    "    where each item is [batch_size, vocabulary_size])\n",
    "    test_pred_unrolled: This is an array [dec_num_unrollings*batch_size, vocabulary_size] array\n",
    "    batch_id: We need this to retrieve the actual sentence for the predicted \n",
    "    test_rand_idx: Some random index we use to pick a data point to print\n",
    "    test_prediction_text_fname: The file we save the prediction results into\n",
    "    '''\n",
    "    \n",
    "    # Print the actual sentence\n",
    "    print('DE: ',test_source_sent[(batch_id*batch_size)+test_rand_idx])\n",
    "    # print_str is the string we display as results and write to a file\n",
    "    print_str = '\\t EN (TRUE):' + test_target_sent[(batch_id*batch_size)+test_rand_idx]\n",
    "    print(print_str + '\\n')\n",
    "\n",
    "    # Printing predictions\n",
    "    print_str = '\\t EN (Predicted): ' \n",
    "    \n",
    "    for test_pred in test_pred_unrolled:                            \n",
    "        print_str += tgt_reverse_dictionary[test_pred[test_rand_idx]] + ' '\n",
    "        if tgt_reverse_dictionary[test_pred[test_rand_idx]] == '</s>':\n",
    "            break\n",
    "    print(print_str + '\\n')\n",
    "\n",
    "    # Write the results to text file\n",
    "    with open(os.path.join(log_dir, test_prediction_text_fname),'a',encoding='utf-8') as fa:                                \n",
    "        fa.write(print_str+'\\n') \n",
    "        \n",
    "def create_bleu_ref_candidate_lists(all_preds, all_labels):\n",
    "    '''\n",
    "    Creates two lists (candidate list and reference list) for calcluating BLEU\n",
    "    all_preds: All the predictions\n",
    "    all_labels: Correspondign all the actual labels\n",
    "    Returns\n",
    "    cand_list: List (sentences) of lists (words in a sentence)\n",
    "    ref_list: List (sentences) of lists (words in a sentence)\n",
    "    '''\n",
    "    bleu_labels, bleu_preds = [],[]\n",
    "    \n",
    "    # calculate bleu score:        \n",
    "    # We iterate batch_size times as i=0,1,2,...,batch_size while grabbing \n",
    "    # i, i+batch_size, i+2*batch_size, i+3*batch_size elements from all_labels and all_preds\n",
    "    # This because the labels/predicitons belonging to same sentence are interleaved by batch_size \n",
    "    # due to the way concatenate labels and predictions\n",
    "    # Taking elements interleaved by batch_size gives the sequence of words belonging to the same sentence\n",
    "    ref_list, cand_list = [],[]\n",
    "    for b_i in range(batch_size):\n",
    "        tmp_lbl = all_labels[b_i::batch_size]            \n",
    "        tmp_lbl = tmp_lbl[np.where(tmp_lbl != tgt_dictionary['</s>'])]            \n",
    "        ref_str = ' '.join([tgt_reverse_dictionary[lbl] for lbl in tmp_lbl])\n",
    "        ref_list.append([ref_str])\n",
    "\n",
    "        tmp_pred = all_preds[b_i::batch_size]\n",
    "        tmp_pred = tmp_pred[np.where(tmp_pred != tgt_dictionary['</s>'])]\n",
    "        cand_str = ' '.join([tgt_reverse_dictionary[pre] for pre in tmp_pred])\n",
    "        cand_list.append(cand_str)\n",
    "\n",
    "    return cand_list, ref_list"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Defining a Single Step of Training\n",
    "\n",
    "We now define a function to train the NMT model for a single step. It takes in encoder inputs, decoder inputs and decoder labels and train the NMT for a single step."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "def train_single_step(eu_data, du_data, du_labels):\n",
    "    '''\n",
    "    Define a single training step\n",
    "    eu_data: Unrolled encoder inputs (word embeddings)\n",
    "    du_data: Unrolled decoder inputs (word embeddings)\n",
    "    du_labels: Unrolled decoder outputs (one hot encoded words)\n",
    "    '''\n",
    "    # Fill the feed dict (Encoder)\n",
    "    feed_dict = {}\n",
    "    for ui,dat in enumerate(eu_data):            \n",
    "        feed_dict[enc_train_inputs[ui]] = dat    \n",
    "    \n",
    "    \n",
    "    # Fill the feed dict (Decoder) \n",
    "    for ui,(dat,lbl) in enumerate(zip(du_data,du_labels)):            \n",
    "        feed_dict[dec_train_inputs[ui]] = dat\n",
    "        feed_dict[dec_train_labels[ui]] = lbl\n",
    "        # The mask masks the </s> items from being part of the loss\n",
    "        d_msk = (np.logical_not(np.argmax(lbl,axis=1)==tgt_dictionary['</s>'])).astype(np.int32).reshape(-1,1)\n",
    "        feed_dict[dec_train_masks[ui]] = d_msk\n",
    "    \n",
    "    # ======================= OPTIMIZATION ==========================\n",
    "    # Using Adam in long term gives very weird behaviors in loss\n",
    "    # so after 20000 iterations we change the optimizer to SGD\n",
    "    if (step+1)<20000:\n",
    "        _,l,tr_pred = sess.run([optimize,loss,train_prediction], feed_dict=feed_dict)\n",
    "    else:\n",
    "        _,l,tr_pred = sess.run([sgd_optimize,loss,train_prediction], feed_dict=feed_dict)\n",
    "        \n",
    "    return l, tr_pred"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Defining Data Generators and Other Related Variables\n",
    "\n",
    "Here we load the word embeddings and some other things as well as define a function to retrieve data generators"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": [
    "# This is where all the results will be logged into\n",
    "log_dir = 'logs'\n",
    "if not os.path.exists(log_dir):\n",
    "    os.mkdir(log_dir)\n",
    "\n",
    "# Filenames of the logs\n",
    "train_prediction_text_fname = 'train_predictions.txt'\n",
    "test_prediction_text_fname = 'test_predictions.txt'\n",
    "\n",
    "# Some configuration for the TensorFlow session\n",
    "config = tf.ConfigProto()\n",
    "config.gpu_options.allow_growth = True\n",
    "config.allow_soft_placement=True\n",
    "sess = tf.InteractiveSession(config=config)\n",
    "\n",
    "# Initialize variables\n",
    "tf.global_variables_initializer().run()\n",
    "\n",
    "# Load the word embeddings\n",
    "src_word_embeddings = np.load('de-embeddings.npy')\n",
    "tgt_word_embeddings = np.load('en-embeddings.npy')\n",
    "\n",
    "# Defining data generators\n",
    "def define_data_generators(batch_size, enc_num_unrollings, dec_num_unrollings):\n",
    "    \n",
    "    # Training data generators (Encoder and Decoder)\n",
    "    enc_data_generator = DataGeneratorMT(batch_size=batch_size,num_unroll=enc_num_unrollings,is_source=True, is_train=True)\n",
    "    dec_data_generator = DataGeneratorMT(batch_size=batch_size,num_unroll=dec_num_unrollings,is_source=False, is_train=True)\n",
    "\n",
    "    # Testing data generators (Encoder and Decoder)\n",
    "    test_enc_data_generator = DataGeneratorMT(batch_size=batch_size,num_unroll=enc_num_unrollings,is_source=True, is_train=False)\n",
    "    test_dec_data_generator = DataGeneratorMT(batch_size=batch_size,num_unroll=dec_num_unrollings,is_source=False, is_train=False)\n",
    "    \n",
    "    return enc_data_generator,dec_data_generator,test_enc_data_generator,test_dec_data_generator\n"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "### Running Training and Testing for NMT\n",
    "\n",
    "With all the TensorFlow operations, helper functions defined we train and test the NMT system."
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 24,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "Started Training\n",
      ".....Step  500\n",
      "Actual: <unk> among the Malay ##AT##-##AT## speaking states , Brunei also uses the Arabic script for Malay known as <unk> , although most signs are written both in <unk> and Roman letters . </s> \n",
      "\n",
      "Predicted: The is the hotel and <unk> ##AT##-##AT## of the , the the <unk> and . the . . the . <unk> the of are the in . the . <unk> ##AT##-##AT## . </s> \n",
      "(Train) BLEU (390 elements):  0.32206012027239733\n",
      ".....Step  1000\n",
      "Actual: <unk> will perform live by 9 pm and will be accompanied by a minimal music set . </s> \n",
      "\n",
      "Predicted: The is be the to the <unk> , the be charged by the <unk> camera . in </s> \n",
      "(Train) BLEU (460 elements):  0.330118779559531\n",
      "============= Step  1000  =============\n",
      "\t Loss:  0.833452063947916\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are not a problem , you can see the <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> , and you can use the <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "\t EN (TRUE):As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> . . . </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> , <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is not to be able to be a bit of the <unk> , but also a <unk> , and the <unk> <unk> <unk> , the <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Auch ist , so denkt Dr. Gutherz , bereits die erste Seite sehr viel versprechend , da sie eine Definition des klinischen Psychotrauma ##AT##-##AT## Begriffes enthält , der er gänzlich zustimmen kann .\n",
      "\n",
      "\t EN (TRUE):At the rhetorical climax of this summary , Dr Goodheart comes across some sentences expressed with great pathos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Das Athens Gate Hotel liegt unterhalb der Akropolis nur 100 m vom neuen Akropolis ##AT##-##AT## Museum entfernt .\n",
      "\n",
      "\t EN (TRUE):The Athens Gate Hotel rests under the Acropolis , just 100 metres from the new Acropolis museum .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city . </s> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a bit of a bit . </s> \n",
      "\n",
      "DE:  Die Musikant entspricht dem Folkrock . Dennoch finden sich in den Liedern viele musikalische Elemente aus klassisch- folklorischer Liedern aus Anatolien bis zum Mittelmeer , aus Latein- amerikanischen Märschen bis hin zu klassischen Rockklängen .\n",
      "\n",
      "\t EN (TRUE):Yorum continues to sing hopeful songs in the name of all the world &apos;s revolutionary music .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> , <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "(Test) BLEU (100 elements):  0.15299244025455716\n",
      "=====================================================\n",
      ".....Step  1500\n",
      "Actual: Data Protection Statement : CWT has established a Data Protection Statement to ensure consent to various uses of travel data given to CWT . </s> \n",
      "\n",
      "Predicted: Note : : : The can to a new ##AT##-##AT## for for be a and the <unk> of the . . . the . </s> \n",
      "(Train) BLEU (500 elements):  0.3053496993383769\n",
      ".....Step  2000\n",
      "Actual: Returns an object containing field information . </s> \n",
      "\n",
      "Predicted: This the array of the of . </s> \n",
      "(Train) BLEU (520 elements):  0.3238168760573157\n",
      "============= Step  2000  =============\n",
      "\t Loss:  0.8346411319375038\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): We are not available in the hotel , but it is not possible to be a bit expensive . </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> <unk> <unk> <unk> , <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "\t EN (TRUE):As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a small and the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Alle älteren Kinder oder Erwachsene zahlen EUR 32,00 pro Übernachtung und Person für Zustellbetten .\n",
      "\n",
      "\t EN (TRUE):All older children or adults are charged EUR 32.00 per night and person for extra beds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All older children or adults are charged EUR 15 <unk> per night and person for extra beds . </s> \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a <unk> file , which is the default option for the <unk> . </s> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1458832664327323\n",
      "=====================================================\n",
      ".....Step  2500\n",
      "Actual: it &apos;s right in the town centre and very well connected to the central station by tram .I booked a single room which was cosy and clean <unk> very <unk> and the breakfast is fair . </s> \n",
      "\n",
      "Predicted: The was a to the city of . the close ##AT##-##AT## to the city station . the . <unk> . few room . was very and the . . good . the room was very . </s> \n",
      "(Train) BLEU (540 elements):  0.31580828154831403\n",
      ".....Step  3000\n",
      "Actual: The elegant Hotel Lev , centrally located in the heart of Ljubljana , offers impressive rooms , all tastefully decorated and comfortable , with views to the lush Tivoli Park or the city centre . </s> \n",
      "\n",
      "Predicted: The hotel hotel is is the located in the heart of the , just a views and a of decorated rooms comfortable accommodation the a of the sea gardens . . the <unk> ’ . </s> \n",
      "(Train) BLEU (550 elements):  0.3213845278678361\n",
      "============= Step  3000  =============\n",
      "\t Loss:  0.8421864324063063\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Das Hotel Sempione verfügt über eine ideale , ruhige Lage in einem geschäftigen Viertel mit guter Verkehrsanbindung . Der Bahnhof und eine U ##AT##-##AT## Bahnstation liegen in der Nähe .\n",
      "\n",
      "\t EN (TRUE):Hotel Sempione welcomes you to a busy yet quiet area of Milan , within walking distance of excellent transport links , including the central railway station and the Repubblica metro station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city of the city of the city of the city , with a beautiful view of the <unk> and the <unk> . </s> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 9 And it came to pass that the Lord , and the Lord , and the Lord , and the Lord , and the Lord , and the Lord , and the Lord , and the Lord , and the c <unk> of the Lord , and the c <unk> of the Lord , and the c <unk> of the \n",
      "\n",
      "DE:  Private Parkplätze stehen für EUR 3,50 pro Tag in der Nähe zur Verfügung .\n",
      "\n",
      "\t EN (TRUE):Private parking is possible at a location nearby and costs EUR 3.50 per day .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Private parking is possible on site ( reservation is needed ) and costs EUR 10 <unk> per day . </s> \n",
      "\n",
      "DE:  Genießen Sie hier in gemütlicher Atmosphäre ein kühles Kölsch oder einen erfrischenden Cocktail .\n",
      "\n",
      "\t EN (TRUE):Enjoy a local beer or refreshing cocktail in a cosy atmosphere .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Enjoy the best hostels in the heart of the city . </s> \n",
      "\n",
      "DE:  bietet ihnen die Möglichkeit , alte ABAP ##AT##-##AT## Reports mit samt ihrer betriebswirtschaftlichen Intelligenz trotz des Umstiegs auf die MS ##AT##-##AT## Umgebung weiter zu nutzen .\n",
      "\n",
      "\t EN (TRUE):Uses the BW extractor API to extract data from productive R / 3 systems by using delta mechanisms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a <unk> and <unk> <unk> to the <unk> and the <unk> . </s> \n",
      "\n",
      "DE:  Nachfolgend sehen Sie die Gästebewertungen von Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\t EN (TRUE):The guest reviews are submitted by our customers after their stay at Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The guest reviews are submitted by our customers after their stay at Hotel <unk> . </s> \n",
      "\n",
      "DE:  Naturreservat auf aufgeschüttetem Gelände am Río de la Plata .\n",
      "\n",
      "\t EN (TRUE):Wide selection of main courses including fresh pasta in homemade sauces ( $ 15 ##AT##-##AT## 30AR ) , traditional chicken dishes incuding Chicken Marsala ( $ 20AR- $ 30AR ) , and a variety of meats including Argentine parilla style steaks ( $ 35AR ) . The menu of seafood is worth considering with rareties such as fresh Yellow ##AT##-##AT## fin Tuna steak in a pesto sauce ( $ 30AR ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das Cleddau Bridge Hotel ist der ideale Platz um zu entspannen oder geschäftlich zu reisen .\n",
      "\n",
      "\t EN (TRUE):Cleddau Bridge hotel is the ideal place for those who want a relaxing holiday or who travel for business .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is a great place to stay in the heart of the city . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Zimmerbeschreibung : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\t EN (TRUE):Room Notes : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Room Notes : All rooms of the hotel rooms are tastefully decorated with a single bed , a bathroom and a bathroom with a double bed . </s> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.17105361346374315\n",
      "=====================================================\n",
      ".....Step  3500\n",
      "Actual: Description : Ideally located at 150 <unk> of the famous Place <unk> ##AT##-##AT## EL ##AT##-##AT## <unk> , Riad Dar <unk> is a guesthouse of charm entirely renovated in the . . . </s> \n",
      "\n",
      "Predicted: Description : The located in the minutes meters the city <unk> de , <unk> , <unk> , this <unk> is , a great in the and . . the city . . </s> \n",
      "(Train) BLEU (470 elements):  0.3221405134088073\n",
      ".....Step  4000\n",
      "Actual: 369 00 : 21 : 25 <unk> -- &gt; 00 : 21 : 27 <unk> There will be some part about communication . </s> \n",
      "\n",
      "Predicted: 00 00 : 08 : 26 , -- &gt; 00 : 07 : 15 <unk> -- is be a of of the of </s> \n",
      "(Train) BLEU (460 elements):  0.30558868976783876\n",
      "============= Step  4000  =============\n",
      "\t Loss:  0.8459116339087486\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 8 Now , if ye do not be a a <unk> , and the b <unk> of the Lord . </s> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 22 For the words of the Lord , and the b <unk> of the Lord , and the b <unk> of the Lord , and the b <unk> of the Lord , and the b <unk> of the Lord , and the b <unk> of the Lord , and the b <unk> of the Lord . </s> \n",
      "\n",
      "DE:  Residenz City Lodge befindet sich am mandelförmigen Sweelinckplein im Herzen des schicken Duinoord ##AT##-##AT## Viertels in Den Haag .\n",
      "\n",
      "\t EN (TRUE):In the midst of the bustling city life , an oasis of peace and luxury can be found bordering the beautiful Haagsche Park , across from the main train station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is a modern hotel in the centre of the city . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new version of the <unk> . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small and <unk> <unk> , which is the most important tourist destinations in the world . </s> \n",
      "\n",
      "DE:  Das Haus liegt in der CCZ ##AT##-##AT## Umweltzone und bietet eine sehr gute Anbindung an das Bus- und U ##AT##-##AT## Bahnnetz .\n",
      "\n",
      "\t EN (TRUE):Set inside the central London congestion ##AT##-##AT## charging zone , this modern hotel has superb transport links , with access to the Tube and the bus network practically on the doorstep .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city , with the most beautiful beaches of the city . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> of the most recent in the world . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This is not only available in the <unk> . </s> \n",
      "\n",
      "DE:  Im Fall Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) beteiligte sich die Mehrheit an einer umfangreichen Kritik an Flook und entschied , dass dieses Gericht irrt � mlicherweise � verschiedene gesetzliche Vorkehrungen , die begrifflich ohne Zusammenhang seien � , vermischt h � tte . Id . , unter 959 , 201 USPQ at 360 .\n",
      "\n",
      "\t EN (TRUE):In In re Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) , the majority engaged in an extensive critique ofFlook , concluding that this Court had erroneously commingled � distinct statutory provisions which are conceptually unrelated . � Id . , at 959 , 201 USPQ at 360 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the center of the city , with a variety of restaurants and restaurants . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18722346518243443\n",
      "=====================================================\n",
      ".....Step  4500\n",
      "Actual: A few years ago Panasonic created a path for their Lumix line at which digital photography plays an important role within the total assortment they are offering . </s> \n",
      "\n",
      "Predicted: The <unk> years of , , the <unk> of the <unk> , . the the <unk> , a <unk> role in the <unk> of of . . a </s> \n",
      "(Train) BLEU (420 elements):  0.33271236690059486\n",
      ".....Step  5000\n",
      "Actual: A poetic acknowledgement that could come from <unk> himself . </s> \n",
      "\n",
      "Predicted: The <unk> of of is be to the . . </s> \n",
      "(Train) BLEU (440 elements):  0.35696827090216005\n",
      "============= Step  5000  =============\n",
      "\t Loss:  0.8341717184782028\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Der nordwestliche Teil der Insel besteht aus Granit und Gneis , von Ton überlagert , und bildet eine ca.\n",
      "\n",
      "\t EN (TRUE):A battle between Denmark and Sweden in 1645 led to Swedish control of the island , but it was brief - they left again the same year . In the Roskildepeace of 1658 Bornholm , Skaane , Halland and Blekinge were given to Sweden .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  In raschem Tempo werden die Modelle angepasst und erneuert .\n",
      "\n",
      "\t EN (TRUE):The models are quickly being improved and renewed .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Residenz City Lodge befindet sich am mandelförmigen Sweelinckplein im Herzen des schicken Duinoord ##AT##-##AT## Viertels in Den Haag .\n",
      "\n",
      "\t EN (TRUE):In the midst of the bustling city life , an oasis of peace and luxury can be found bordering the beautiful Haagsche Park , across from the main train station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city of <unk> , the <unk> <unk> and the <unk> . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are not only if you have a <unk> . </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can download the <unk> version of the <unk> . </s> \n",
      "\n",
      "DE:  Booking.com : Best Western Hotell SöderH , Söderhamn , Schweden - 29 Gästebewertungen .\n",
      "\n",
      "\t EN (TRUE):Booking.com : Best Western Hotell SöderH , Söderhamn , Sweden - 29 Guest reviews .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Booking .com : hotel <unk> <unk> Hotel , <unk> , <unk> ( <unk> ) , <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Wünschen Sie Unterstützung bei der der Zentrensuche ?\n",
      "\n",
      "\t EN (TRUE):Would you like being assisted in searching a specialised centre ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can download the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; <unk> &quot; ( &quot; ) &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  Bei den romanischen Völkern paart sich die effektive Ohnmacht mit lächerlicher Anmaßung .\n",
      "\n",
      "\t EN (TRUE):To material weakness the Latin countries add a quite fantastic pretentiousness .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.16786244722759772\n",
      "=====================================================\n",
      ".....Step  5500\n",
      "Actual: When would you like to stay at the The Ambassador ? </s> \n",
      "\n",
      "Predicted: When would you like to stay at the <unk> <unk> ? </s> \n",
      "(Train) BLEU (500 elements):  0.337132745606093\n",
      ".....Step  6000\n",
      "Actual: exorbitant rate because there was little hotel availability , poor facilities considering the cost . An additional cost was added when paying as type of insurance for mini bar etc . </s> \n",
      "\n",
      "Predicted: <unk> a , we is no a in . but and , the hotel . </s> \n",
      "(Train) BLEU (440 elements):  0.3267091641886429\n",
      "============= Step  6000  =============\n",
      "\t Loss:  0.8077693988382816\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Zum klimatisierten Hotel gehören auch ein Whirpool und eine traumhafte Sonnenterrasse .\n",
      "\n",
      "\t EN (TRUE):Apart from this , the guests can enjoy the facility of an independent air ##AT##-##AT## conditioning system , a jacuzzi and a beautiful sun terrace .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 15 But behold , the Lord , the Lord , and the <unk> of the Lord , and the Lord , and the Lord , and the Lord , and the Lord , and the Lord , and the Lord , and the <unk> of the Lord , and the <unk> of the Lord , and the <unk> of the \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city centre , only a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> are available in the <unk> . </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the Hotel <unk> ? </s> \n",
      "\n",
      "DE:  Auch ist , so denkt Dr. Gutherz , bereits die erste Seite sehr viel versprechend , da sie eine Definition des klinischen Psychotrauma ##AT##-##AT## Begriffes enthält , der er gänzlich zustimmen kann .\n",
      "\n",
      "\t EN (TRUE):At the rhetorical climax of this summary , Dr Goodheart comes across some sentences expressed with great pathos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a <unk> of the <unk> , and the <unk> of the <unk> <unk> , the <unk> <unk> , <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can find the best way to see the most important way to the city . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Das Personal war immer hilfsbereit und freundlich .\n",
      "\n",
      "\t EN (TRUE):The location and helpfulness of staff was excellent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very comfortable and the location was very good . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1710550873571172\n",
      "=====================================================\n",
      ".....Step  6500\n",
      "Actual: The Abbey and Gate theatres , the Municipal Art Gallery , Dublin ’ s Writers Museum and the James Joyce Cultural Centre are all close by . </s> \n",
      "\n",
      "Predicted: The hotel <unk> the is are the <unk> Museum Museum , the &apos;s s largest of and the <unk> <unk> . . . the the to the </s> \n",
      "(Train) BLEU (590 elements):  0.32794586501847045\n",
      ".....Step  7000\n",
      "Actual: Giant Bicycles Corporation operates a large network of bicycle retail stores that offer rentals for as little as NT $ 1000 per day , if requested one week in advance &#91; 19 &#93; . </s> \n",
      "\n",
      "Predicted: The is are is the few number of <unk> and , , are a for sale well as a , , , cent , and you you of from the . 3 &#93; . </s> \n",
      "(Train) BLEU (400 elements):  0.3337258501623217\n",
      "============= Step  7000  =============\n",
      "\t Loss:  0.8151298711746932\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): We are not only a few minutes from the hotel , but it is possible to be a little bit about $ $ 0 <unk> . </s> \n",
      "\n",
      "DE:  Alle unterstützten Barcode Varianten sind in einem einzigen Interface konfigurierbar .\n",
      "\n",
      "\t EN (TRUE):All supported bar code formats are configurable through one single interface .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> \n",
      "\n",
      "DE:  Das ist viel einfacher ... Nein , streiten Sie nicht mit mir ... es ist einfacher ... ach , wie auch immer !\n",
      "\n",
      "\t EN (TRUE):This is far more easy ... no , don &apos;t argue with me ... it is easier ... ah whatever !\n",
      "\n",
      "\n",
      "\t EN (Predicted): We are not able to see the <unk> <unk> <unk> , but the <unk> <unk> is a great place to the <unk> . </s> \n",
      "\n",
      "DE:  Genießen Sie hier in gemütlicher Atmosphäre ein kühles Kölsch oder einen erfrischenden Cocktail .\n",
      "\n",
      "\t EN (TRUE):Enjoy a local beer or refreshing cocktail in a cosy atmosphere .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Enjoy your stay in the hotel ’ s restaurant , a restaurant , a bar , a bar , a bar , a bar , a bar , a bar , a bar , a bar , a bar , a bar , a bar , a bar , a bar , a bar , a bar , a bar \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and helpful . </s> \n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Mitglieder geniessen viele zus � tzliche Leistungen wie optimierter Sicherheit , schnelleren Auszahlungszeiten und der Aufhebung von Kreditkarteneinzahlungslimits .\n",
      "\n",
      "\t EN (TRUE):Members enjoy a range of perks including enhanced security and protection , faster withdrawals and increased credit card deposit limits .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This is the <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.17921948597331533\n",
      "=====================================================\n",
      ".....Step  7500\n",
      "Actual: Public telephones take prepaid phone cards which can be purchased at post offices , shops and lottery kiosks . </s> \n",
      "\n",
      "Predicted: <unk> , with the and , , are be found in the ##AT##-##AT## in and , other , . </s> \n",
      "(Train) BLEU (410 elements):  0.32508496305310786\n",
      ".....Step  8000\n",
      "Actual: There is a total of four loft Studios all with double bed , sofa . . . </s> \n",
      "\n",
      "Predicted: There is a restaurant of rooms rooms rooms , over a rooms , a and </s> \n",
      "(Train) BLEU (650 elements):  0.3271780418405546\n",
      "============= Step  8000  =============\n",
      "\t Loss:  0.7983970480561257\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a great location , but it was very good . </s> \n",
      "\n",
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new <unk> ##AT##-##AT## style , with a wide range of restaurants , bars and restaurants , as well as a <unk> , the <unk> and <unk> . </s> \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This hotel is located in the heart of the city centre , just a short walk from the beach , the <unk> <unk> , the <unk> and the <unk> . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I do not have a view . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Genießen Sie das ganze Jahr über die Sonne und erfrischen Sie sich im Außenpool , während Ihre Kinder sicher in ihren eigenen Schwimmbecken spielen .\n",
      "\n",
      "\t EN (TRUE):Soak up the year ##AT##-##AT## round sunshine as you enjoy a dip in one of the outdoor swimming pools , as children play safely in their own pools .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also enjoy a drink in the hotel ’ s restaurant , a restaurant , a bar and a restaurant . </s> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a great place to find a wide variety of restaurants , and the <unk> , the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Auch ist , so denkt Dr. Gutherz , bereits die erste Seite sehr viel versprechend , da sie eine Definition des klinischen Psychotrauma ##AT##-##AT## Begriffes enthält , der er gänzlich zustimmen kann .\n",
      "\n",
      "\t EN (TRUE):At the rhetorical climax of this summary , Dr Goodheart comes across some sentences expressed with great pathos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): He was a <unk> <unk> , the <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a great place to the <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a bit ##AT##-##AT## bit , but it is not only a problem . </s> \n",
      "\n",
      "DE:  in dieser Option ermöglicht , Dateien relativ zum aktuellen Verzeichnis einzubinden .\n",
      "\n",
      "\t EN (TRUE):in the include path allows for relative includes as it means the current directory . However , it is more efficient to explicitly use include &apos; . / file &apos; than having PHP always check the current directory for every include .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you want to use the <unk> file . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1652699215014369\n",
      "=====================================================\n",
      ".....Step  8500\n",
      "Actual: <unk> to the relevant rules and regulations is mandatory for us . </s> \n",
      "\n",
      "Predicted: The , the <unk> of of the of not for the and </s> \n",
      "(Train) BLEU (460 elements):  0.33039937164771005\n",
      ".....Step  9000\n",
      "Actual: Does airberlin offer an online check ##AT##-##AT## in facility and other e ##AT##-##AT## services ? </s> \n",
      "\n",
      "Predicted: Can the the the overview number ##AT##-##AT## in or . the information ##AT##-##AT## mail . </s> \n",
      "(Train) BLEU (430 elements):  0.3265912381959538\n",
      "============= Step  9000  =============\n",
      "\t Loss:  0.8150297013223171\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can be sure to see the <unk> <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> ##AT##-##AT## <unk> is a powerful tool for the <unk> ##AT##-##AT## <unk> , and the <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das ist viel einfacher ... Nein , streiten Sie nicht mit mir ... es ist einfacher ... ach , wie auch immer !\n",
      "\n",
      "\t EN (TRUE):This is far more easy ... no , don &apos;t argue with me ... it is easier ... ah whatever !\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a good location , but it is a good choice for the hotel . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Booking.com : Best Western Hotell SöderH , Söderhamn , Schweden - 29 Gästebewertungen .\n",
      "\n",
      "\t EN (TRUE):Booking.com : Best Western Hotell SöderH , Söderhamn , Sweden - 29 Guest reviews .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Booking .com : Hotels near <unk> , London , United Kingdom - <unk> Guest reviews . </s> \n",
      "\n",
      "DE:  Dazu kam die deutsche Beteiligung an AWACS ##AT##-##AT## Flügen .\n",
      "\n",
      "\t EN (TRUE):Additionally , the Germans participated in AWACS flights .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Im Fall Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) beteiligte sich die Mehrheit an einer umfangreichen Kritik an Flook und entschied , dass dieses Gericht irrt � mlicherweise � verschiedene gesetzliche Vorkehrungen , die begrifflich ohne Zusammenhang seien � , vermischt h � tte . Id . , unter 959 , 201 USPQ at 360 .\n",
      "\n",
      "\t EN (TRUE):In In re Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) , the majority engaged in an extensive critique ofFlook , concluding that this Court had erroneously commingled � distinct statutory provisions which are conceptually unrelated . � Id . , at 959 , 201 USPQ at 360 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1570063307614511\n",
      "=====================================================\n",
      ".....Step  9500\n",
      "Actual: If WA does not quench your thirst of ( harsh ) wilderness , it is unlikely that anywhere else in the world will . </s> \n",
      "\n",
      "Predicted: The the , not be the own , the <unk> ) , , the is a to the in , the <unk> , be </s> \n",
      "(Train) BLEU (480 elements):  0.35244721722437433\n",
      ".....Step  10000\n",
      "Actual: Elmar <unk> , Mayor of the City of Zürich : Welcome to our beautiful city . . . </s> \n",
      "\n",
      "Predicted: Enjoy you , <unk> , the <unk> Centre the , the to the website <unk> . </s> \n",
      "(Train) BLEU (530 elements):  0.3214761366934516\n",
      "============= Step  10000  =============\n",
      "\t Loss:  0.820915565893054\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Der nordwestliche Teil der Insel besteht aus Granit und Gneis , von Ton überlagert , und bildet eine ca.\n",
      "\n",
      "\t EN (TRUE):A battle between Denmark and Sweden in 1645 led to Swedish control of the island , but it was brief - they left again the same year . In the Roskildepeace of 1658 Bornholm , Skaane , Halland and Blekinge were given to Sweden .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small town of the <unk> , which is the ideal place for a relaxing break . </s> \n",
      "\n",
      "DE:  In dem traditionellen Fischerdorf werden ausländische Gäste sehr herzlich empfangen . Seien Sie allerdings gewarnt vor dem Zustand der Strasse und fahren Sie vorsichtig !\n",
      "\n",
      "\t EN (TRUE):It &apos;s a small traditional fishing village , with friendly locals , always very welcoming to British tourists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city , with its own private swimming pool , a bar and a bar . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> .com : <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> ) . </s> \n",
      "\n",
      "DE:  Genießen Sie hier in gemütlicher Atmosphäre ein kühles Kölsch oder einen erfrischenden Cocktail .\n",
      "\n",
      "\t EN (TRUE):Enjoy a local beer or refreshing cocktail in a cosy atmosphere .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Enjoy your holiday in the Costa Brava , Spain , Spain , Spain . </s> \n",
      "\n",
      "DE:  Genießen Sie das ganze Jahr über die Sonne und erfrischen Sie sich im Außenpool , während Ihre Kinder sicher in ihren eigenen Schwimmbecken spielen .\n",
      "\n",
      "\t EN (TRUE):Soak up the year ##AT##-##AT## round sunshine as you enjoy a dip in one of the outdoor swimming pools , as children play safely in their own pools .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a delicious breakfast buffet breakfast , a breakfast buffet breakfast , a breakfast buffet . </s> \n",
      "\n",
      "DE:  Baustelle zwischen See und Hotel . Altmodische Einrichtung .\n",
      "\n",
      "\t EN (TRUE):Shared lobby with campsite next door , apparently , and hotel check in / out were not handled by lobby staff but by restaurant staff .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n",
      "DE:  Naturreservat auf aufgeschüttetem Gelände am Río de la Plata .\n",
      "\n",
      "\t EN (TRUE):Wide selection of main courses including fresh pasta in homemade sauces ( $ 15 ##AT##-##AT## 30AR ) , traditional chicken dishes incuding Chicken Marsala ( $ 20AR- $ 30AR ) , and a variety of meats including Argentine parilla style steaks ( $ 35AR ) . The menu of seafood is worth considering with rareties such as fresh Yellow ##AT##-##AT## fin Tuna steak in a pesto sauce ( $ 30AR ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> . . . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a bit ##AT##-##AT## called ##AT##-##AT## <unk> ##AT##-##AT## <unk> , but the <unk> is a bit of a small and the <unk> , but it is a lot of <unk> . </s> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I can get a bit more than a bit of a bit of a bit . </s> \n",
      "\n",
      "DE:  Bamberg , die &quot; Traumstadt der Deutschen &quot; , seine aufgeschlossenen Menschen und seine romantische Umgebung wird auch Sie begeistern , denn sie bietet für jeden etwas .\n",
      "\n",
      "\t EN (TRUE):The beauty and rich cultural life of this town can be enjoyed at any time of year . Soak up the summer sun whilst relaxing at one of the many sidewalk cafés in the historic old town or savour a cool beer beneath a shady chestnut tree in one of the popular beer gardens .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1892532922438468\n",
      "=====================================================\n",
      ".....Step  10500\n",
      "Actual: The room is clean and breakfast is also good . Location is near the train station . </s> \n",
      "\n",
      "Predicted: The staff was very and very . very very . </s> \n",
      "(Train) BLEU (420 elements):  0.34823106098704326\n",
      ".....Step  11000\n",
      "Actual: Arriving at the terminal at least three hours before your flight is well advised , as Israeli security procedures can be time ##AT##-##AT## consuming . </s> \n",
      "\n",
      "Predicted: The , the <unk> , the at hours , the stay , the , to and well as is are be found to made . </s> \n",
      "(Train) BLEU (520 elements):  0.33603063995831706\n",
      "============= Step  11000  =============\n",
      "\t Loss:  0.8206268205344677\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Das Hotel Sempione verfügt über eine ideale , ruhige Lage in einem geschäftigen Viertel mit guter Verkehrsanbindung . Der Bahnhof und eine U ##AT##-##AT## Bahnstation liegen in der Nähe .\n",
      "\n",
      "\t EN (TRUE):Hotel Sempione welcomes you to a busy yet quiet area of Milan , within walking distance of excellent transport links , including the central railway station and the Repubblica metro station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city of <unk> , just a few metres from the beach , with a beautiful view of the sea and the sea . </s> \n",
      "\n",
      "DE:  Man schließt die Gitarre über Mikrofon oder Pickup an die PC Soundkarte an und schon kann es losgehen .\n",
      "\n",
      "\t EN (TRUE):You connect the guitar via microphone or pickup with the PC soundcard and you are ready !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The apartment is located in the centre of the city centre , only a few minutes from the beach . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  shower was ok but leaked needed updating .\n",
      "\n",
      "\t EN (TRUE):the response to to requests was poor , phone 3 time for milk in the room over 4 hours .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and comfortable . </s> \n",
      "\n",
      "DE:  Nach einigen Wanderwochen erreichten ich und Celina Warschau . Auf dem Weg zum jüdischen Komitee begegnete ich auf der Straße meinem Bruder !\n",
      "\n",
      "\t EN (TRUE):It turned out that Marek had jumped from the window of a train moving to Majdanek .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Nachfolgend sehen Sie die Gästebewertungen von Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\t EN (TRUE):The guest reviews are submitted by our customers after their stay at Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The guest reviews are submitted by our customers after their stay at Hotel <unk> <unk> . </s> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new version of the <unk> . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new version of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Im Fall Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) beteiligte sich die Mehrheit an einer umfangreichen Kritik an Flook und entschied , dass dieses Gericht irrt � mlicherweise � verschiedene gesetzliche Vorkehrungen , die begrifflich ohne Zusammenhang seien � , vermischt h � tte . Id . , unter 959 , 201 USPQ at 360 .\n",
      "\n",
      "\t EN (TRUE):In In re Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) , the majority engaged in an extensive critique ofFlook , concluding that this Court had erroneously commingled � distinct statutory provisions which are conceptually unrelated . � Id . , at 959 , 201 USPQ at 360 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.16157035442567858\n",
      "=====================================================\n",
      ".....Step  11500\n",
      "Actual: This hotel has really a very good value for money especially for this location . Actually we just booked 1 night for the beginning of our round trip , but we like it there so much that we prolonged for 2 more nights and also booked our the last night before flying back and I would stay there again if \n",
      "\n",
      "Predicted: The hotel is a nice nice nice location for money . . the hotel . </s> \n",
      "(Train) BLEU (380 elements):  0.3254137261158216\n",
      ".....Step  12000\n",
      "Actual: Its pure comfort furnishings , modest designer extras and funky art prints create a compact , welcoming space for relax . </s> \n",
      "\n",
      "Predicted: The location location and , the , and , the the galleries , a unique and modern atmosphere . your and </s> \n",
      "(Train) BLEU (490 elements):  0.3312645976925235\n",
      "============= Step  12000  =============\n",
      "\t Loss:  0.8102154064029455\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are not interested in the <unk> , you can see the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  1 Nun ließ der Herr , Gott , die Hungersnot im Land Ur so schwer werden , daß a Haran , mein Bruder , starb ; aber b Terach , mein Vater , lebte noch im Land Ur der Chaldäer .\n",
      "\n",
      "\t EN (TRUE):1 Now the Lord God caused the a famine to wax sore in the land of Ur , insomuch that b Haran , my brother , died ; but c Terah , my father , yet lived in the land of Ur , of the Chaldees .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 5 But I am a <unk> , and the <unk> of the Lord , and the <unk> of the Lord , and the <unk> of the Lord , and the <unk> of the Lord , and the <unk> of the Lord , and the <unk> of the Lord , and the <unk> of the Lord , and the <unk> of \n",
      "\n",
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "\t EN (TRUE):As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a bit expensive , but it is impossible to be a bit expensive . </s> \n",
      "\n",
      "DE:  Wenn eine Speicherung der Daten auf dem Client erfolgen soll , werden Cookys verwendet .\n",
      "\n",
      "\t EN (TRUE):When client data storage is needed , cookies are used .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are using the <unk> ##UNDERSCORE## <unk> ( ) . </s> \n",
      "\n",
      "DE:  Genießen Sie das ganze Jahr über die Sonne und erfrischen Sie sich im Außenpool , während Ihre Kinder sicher in ihren eigenen Schwimmbecken spielen .\n",
      "\n",
      "\t EN (TRUE):Soak up the year ##AT##-##AT## round sunshine as you enjoy a dip in one of the outdoor swimming pools , as children play safely in their own pools .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can enjoy a drink in the bar , a bar , a bar and bar . </s> \n",
      "\n",
      "DE:  Booking.com : Best Western Hotell SöderH , Söderhamn , Schweden - 29 Gästebewertungen .\n",
      "\n",
      "\t EN (TRUE):Booking.com : Best Western Hotell SöderH , Söderhamn , Sweden - 29 Guest reviews .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Booking .com : <unk> Hotel <unk> , <unk> ( <unk> ) , <unk> - <unk> Guest reviews . </s> \n",
      "\n",
      "DE:  Mitglieder geniessen viele zus � tzliche Leistungen wie optimierter Sicherheit , schnelleren Auszahlungszeiten und der Aufhebung von Kreditkarteneinzahlungslimits .\n",
      "\n",
      "\t EN (TRUE):Members enjoy a range of perks including enhanced security and protection , faster withdrawals and increased credit card deposit limits .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small hotel with a beautiful view of the sea , the <unk> and the <unk> of the <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.194420983164622\n",
      "=====================================================\n",
      ".....Step  12500\n",
      "Actual: Monaco is easily accessed by its land borders from France or Italy by a network of highways , most commonly used of which is the A8 which runs west from Monte Carlo to Nice and Marseilles , and east towards the Italian border . </s> \n",
      "\n",
      "Predicted: The of a accessible by the own , , the , the , the <unk> of the , and of the by the the the <unk> . is the to the Carlo . the . <unk> . and the . the <unk> border . </s> \n",
      "(Train) BLEU (570 elements):  0.33440158018998467\n",
      ".....Step  13000\n",
      "Actual: Visitors to the fair can embark on a <unk> Tour through the exhibition center . </s> \n",
      "\n",
      "Predicted: The to the <unk> <unk> be on the <unk> , . the <unk> . . </s> \n",
      "(Train) BLEU (600 elements):  0.342170825294471\n",
      "============= Step  13000  =============\n",
      "\t Loss:  0.7959154870808125\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  &#124; Ferienwohnungen 1 Zi &#124; Ferienhäuser &#124; Landhäuser &#124; Autovermietung &#124; Last Minute Angebote ! !\n",
      "\n",
      "\t EN (TRUE):&#124; 1 Bedroom Apts &#124; Holiday houses &#124; Rural Homes &#124; Car Rental &#124; Last Minute Offers !\n",
      "\n",
      "\n",
      "\t EN (Predicted): Apartments &#124; Hotels &#124; Hotels &#124; Hotels &#124; Hotels &#124; Last Minute Offers &#124; Last Minute Offers ! </s> \n",
      "\n",
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a small and charming hotel in the heart of the city , with a beautiful view of the sea , the <unk> <unk> , the <unk> <unk> , <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a small and charming hotel in the heart of the city . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Da jedes SCXI ##AT##-##AT## Modul die Signale auf einen einzigen Kanal des Datenerfassungsmoduls multiplext , lassen sich problemlos weitere Module hinzufügen , was für eine höhere Kanalanzahl sorgt .\n",
      "\n",
      "\t EN (TRUE):It can multiplex its signals into a single channel of the DAQ device , and you can add modules to increase channel count .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> ##AT##-##AT## <unk> is a powerful tool for the NI ##AT##-##AT## DAQmx system , which is used to be used for the NI ##AT##-##AT## DAQmx system . </s> \n",
      "\n",
      "DE:  Das Haus liegt in der CCZ ##AT##-##AT## Umweltzone und bietet eine sehr gute Anbindung an das Bus- und U ##AT##-##AT## Bahnnetz .\n",
      "\n",
      "\t EN (TRUE):Set inside the central London congestion ##AT##-##AT## charging zone , this modern hotel has superb transport links , with access to the Tube and the bus network practically on the doorstep .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a small and charming hotel in the heart of the city . </s> \n",
      "\n",
      "DE:  Mitglieder geniessen viele zus � tzliche Leistungen wie optimierter Sicherheit , schnelleren Auszahlungszeiten und der Aufhebung von Kreditkarteneinzahlungslimits .\n",
      "\n",
      "\t EN (TRUE):Members enjoy a range of perks including enhanced security and protection , faster withdrawals and increased credit card deposit limits .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das Cleddau Bridge Hotel ist der ideale Platz um zu entspannen oder geschäftlich zu reisen .\n",
      "\n",
      "\t EN (TRUE):Cleddau Bridge hotel is the ideal place for those who want a relaxing holiday or who travel for business .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is a great choice for a relaxing stay in the heart of the city . </s> \n",
      "\n",
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "\t EN (TRUE):First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and very helpful . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18728667741527277\n",
      "=====================================================\n",
      ".....Step  13500\n",
      "Actual: Hotel is clean and have very good breakfasts . </s> \n",
      "\n",
      "Predicted: The was located , very a nice value . </s> \n",
      "(Train) BLEU (490 elements):  0.3274857839402054\n",
      ".....Step  14000\n",
      "Actual: All rooms and public areas have Wi ##AT##-##AT## Fi internet access . The hotel has an excellent health and leisure club that includes a swimming pool , spa , sauna , solarium , <unk> beauty salon and nail bar , and fully air ##AT##-##AT## conditioned gym . </s> \n",
      "\n",
      "Predicted: The rooms are suites areas are a ##AT##-##AT## Fi access access , </s> \n",
      "(Train) BLEU (600 elements):  0.33956486987083395\n",
      "============= Step  14000  =============\n",
      "\t Loss:  0.8115215888023376\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Je mehr Zeit wir mit Gilad und dem Rest des Teams in Israel verbracht haben ( um nicht den lauten Hahn zu erwähnen der schreiend bei denen über den Campus rennt ) desto überzeugter waren wir – zusammen können wir mehr bewegen .\n",
      "\n",
      "\t EN (TRUE):The more time we spent with Gilad as well as the rest of the team in Israel ( not to mention the very loud rooster that runs around in their campus ) , the more convinced we all became - we ’ ll be better off together .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a good choice for a couple of friends , but the hotel is a small and comfortable place for a relaxing stay . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 11 But it came to pass that the Lord hath the a <unk> of the Lord , and the Lord , and the Lord , and the Lord , and the Lord , and the Lord , and the Lord of God , and the Lord God , and the Lord God , and the Lord of God , and \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and helpful . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I do not use the <unk> ? </s> \n",
      "\n",
      "DE:  bietet ihnen die Möglichkeit , alte ABAP ##AT##-##AT## Reports mit samt ihrer betriebswirtschaftlichen Intelligenz trotz des Umstiegs auf die MS ##AT##-##AT## Umgebung weiter zu nutzen .\n",
      "\n",
      "\t EN (TRUE):Uses the BW extractor API to extract data from productive R / 3 systems by using delta mechanisms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): In addition to the <unk> , the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I have a lot of my own , but I have a good idea to get a lot of the best way . </s> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new tool for the <unk> . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): is a <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The &quot; <unk> &quot; is a &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the city centre of the city , with a few minutes from the city centre . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.17690283770208143\n",
      "=====================================================\n",
      ".....Step  14500\n",
      "Actual: Most of the accommodations that we offer are : <unk> and <unk> in the countryside , thus you will have the opportunity to get a real taste of the land and its people . </s> \n",
      "\n",
      "Predicted: The of the city are are have the the a , <unk> , the <unk> , the , can find a opportunity to enjoy a few time of the <unk> of the own . </s> \n",
      "(Train) BLEU (450 elements):  0.3329828069323857\n",
      ".....Step  15000\n",
      "Actual: In fact he started asking those quite bizarre questions already in 1916 in a text called : &quot; On Language as Such and on the Language of Man &quot; . </s> \n",
      "\n",
      "Predicted: In the , had the to who to , , had the , the <unk> , &quot; &quot; <unk> the , &quot; &quot; <unk> the &quot; of the , , </s> \n",
      "(Train) BLEU (520 elements):  0.33935661168934417\n",
      "============= Step  15000  =============\n",
      "\t Loss:  0.7963583173751831\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Zum klimatisierten Hotel gehören auch ein Whirpool und eine traumhafte Sonnenterrasse .\n",
      "\n",
      "\t EN (TRUE):Apart from this , the guests can enjoy the facility of an independent air ##AT##-##AT## conditioning system , a jacuzzi and a beautiful sun terrace .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> is a new version of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Private Parkplätze stehen für EUR 3,50 pro Tag in der Nähe zur Verfügung .\n",
      "\n",
      "\t EN (TRUE):Private parking is possible at a location nearby and costs EUR 3.50 per day .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Private parking is possible on site and costs EUR 21 <unk> per day . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday Inn apartment is located in the Costa de la Luz , Spain in the Costa de la Luz . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very good . </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are using the <unk> <unk> <unk> <unk> ( <unk> ) , <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged EUR 12 <unk> per night and person in an extra bed . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also get a <unk> , and the <unk> is a bit of a few minutes . </s> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.13182688650603955\n",
      "=====================================================\n",
      ".....Step  15500\n",
      "Actual: 38 Now , he says that the Lord has talked with him , and also that a angels have <unk> unto him . </s> \n",
      "\n",
      "Predicted: 19 But , I said unto I Lord God been to the a and he the he <unk> of been . me . </s> \n",
      "(Train) BLEU (520 elements):  0.3534955852281738\n",
      ".....Step  16000\n",
      "Actual: Nos ha <unk> todo , desde el trato del personal de recepción , la ubicación con vistas <unk> , <unk> de cena y <unk> de calidad y <unk> , un spa <unk> y no <unk> y <unk> el servicio de <unk> , con una gran profesional al <unk> , <unk> tiempo que no <unk> a <unk> con <unk> mano para \n",
      "\n",
      "Predicted: <unk> <unk> gustado <unk> <unk> <unk> <unk> <unk> de <unk> . <unk> . <unk> <unk> de <unk> de . <unk> , <unk> y <unk> . <unk> . <unk> . <unk> <unk> , , <unk> <unk> . <unk> . <unk> de <unk> . <unk> <unk> <unk> de de <unk> . <unk> <unk> . <unk> <unk> . <unk> . <unk> . de \n",
      "(Train) BLEU (540 elements):  0.346500387085232\n",
      "============= Step  16000  =============\n",
      "\t Loss:  0.7978245097845793\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "\t EN (TRUE):Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a powerful tool for the NI Developer Suite , and the NI <unk> ##AT##-##AT## <unk> is a powerful tool for the NI PXI ##AT##-##AT## <unk> , and the NI <unk> . </s> \n",
      "\n",
      "DE:  Das Hotel Opera befindet sich in der Nähe des Royal Theatre , Kongens Nytorv , &apos; Stroget &apos; und Nyhavn .\n",
      "\n",
      "\t EN (TRUE):Hotel Opera is situated near The Royal Theatre , Kongens Nytorv , &quot; Strøget &quot; and fascinating Nyhavn .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city of <unk> , just a short walk from the <unk> and the <unk> . </s> \n",
      "\n",
      "DE:  Das ist viel einfacher ... Nein , streiten Sie nicht mit mir ... es ist einfacher ... ach , wie auch immer !\n",
      "\n",
      "\t EN (TRUE):This is far more easy ... no , don &apos;t argue with me ... it is easier ... ah whatever !\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very good . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartment rentals apartment in Tarifa , Cadiz , Spain « Apts « . . . </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a good way to be a good way to get a lot of the best way to the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Dazu kam die deutsche Beteiligung an AWACS ##AT##-##AT## Flügen .\n",
      "\n",
      "\t EN (TRUE):Additionally , the Germans participated in AWACS flights .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> , <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the hotel ’ s own bar . </s> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> is a new version of the <unk> <unk> , which is a new version of the <unk> <unk> , and the <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18612792735936062\n",
      "=====================================================\n",
      ".....Step  16500\n",
      "Actual: Those who love their creature comforts will enjoy this very modern , relaxed space and its excellent proximity to the absolute core of Barcelona , at Plaza Catalunya . </s> \n",
      "\n",
      "Predicted: Our who are with own or , be the beautiful pleasant meal the atmosphere , a friendly location to the hotel location of the . the the Mayor , </s> \n",
      "(Train) BLEU (460 elements):  0.3213513977056487\n",
      ".....Step  17000\n",
      "Actual: 3 Now they were desirous that salvation should be declared to every creature , for they could not a bear that any human b soul should c perish ; yea , even the very thoughts that any soul should endure d endless torment did cause them to quake and e tremble . </s> \n",
      "\n",
      "Predicted: 5 Therefore , were a , they , be a a the a , and the shall be be baptize upon they man b shall , be be , and , and the Lord <unk> of ye a shall be unto <unk> , , not the to be the the <unk> , </s> \n",
      "(Train) BLEU (420 elements):  0.3404926849005012\n",
      "============= Step  17000  =============\n",
      "\t Loss:  0.8125953322947025\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  &#124; Ferienwohnungen 1 Zi &#124; Ferienhäuser &#124; Landhäuser &#124; Autovermietung &#124; Last Minute Angebote ! !\n",
      "\n",
      "\t EN (TRUE):&#124; 1 Bedroom Apts &#124; Holiday houses &#124; Rural Homes &#124; Car Rental &#124; Last Minute Offers !\n",
      "\n",
      "\n",
      "\t EN (Predicted): Casino Tropez &#124; Club &#124; Club &#124; Aparthotels Hotels &#124; Club &#124; Last Minute Offers &#124; Last Minute Offers &#124; Last Minute Offers &#124; Last Minute Offers &#124; Last Minute Offers ! </s> \n",
      "\n",
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a small hotel in the city of <unk> , in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "\t EN (TRUE):As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a <unk> ( <unk> ) , and the <unk> ( <unk> ) is a <unk> ( <unk> ) . </s> \n",
      "\n",
      "DE:  Eine Woche später wird Dianne Feinstein , Vorstandsvorsitzende der Inspektoren , als Nachfolgerin Moscones ernannt . Sie ist die erste Bürgermeisterin der Stadt .\n",
      "\n",
      "\t EN (TRUE):Returning by the parallel Stockton or Powell will give you a better feeling of the day to day life of the residents , and are both good for those looking for imported commodities such as tea or herbs .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Zitate mit unterschiedlichsten stilistischen Effekten treffen aufeinander : Referenzen auf das narrative Autorenkino ( Hitchcock , Eisenstein , Godard , Brian De Palma ) , poetische oder theoretische Texte ( Tschechow , Duras , Barthes , Žižek , Weibel , Gržinić ) und Verweise auf Massenmedien – B ##AT##-##AT## Filme , TV ##AT##-##AT## Shows , Werbespots , politische Nachrichtensendungen .\n",
      "\n",
      "\t EN (TRUE):Out of all this material , mixed with disnarrative polysemy and an astonishing lack of inhibition , strange “ fictions ” are reconstructed — fragmentary fictions that are constantly interrupted .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> , <unk> <unk> , <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> \n",
      "\n",
      "DE:  Baustelle zwischen See und Hotel . Altmodische Einrichtung .\n",
      "\n",
      "\t EN (TRUE):Shared lobby with campsite next door , apparently , and hotel check in / out were not handled by lobby staff but by restaurant staff .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> your own card for your booking . </s> \n",
      "\n",
      "DE:  With a unique location in the heart of Peneda / Gerês National Park , this Pousada has a breathking view over the river Cávado and the peaceful Caniçada dam .\n",
      "\n",
      "\t EN (TRUE):Located in the heart of Peneda ##AT##-##AT## Gerês National Park , this guest house boasts panoramic views of the surrounding mountains and is a welcome retreat for nature enthusiasts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The NI <unk> ##AT##-##AT## <unk> is a powerful tool for the NI PXI ##AT##-##AT## <unk> , and the NI <unk> ##AT##-##AT## <unk> is a powerful tool for the NI PXI ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  in dieser Option ermöglicht , Dateien relativ zum aktuellen Verzeichnis einzubinden .\n",
      "\n",
      "\t EN (TRUE):in the include path allows for relative includes as it means the current directory . However , it is more efficient to explicitly use include &apos; . / file &apos; than having PHP always check the current directory for every include .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are not supported by the <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18122959343187375\n",
      "=====================================================\n",
      ".....Step  17500\n",
      "Actual: Do you have a carved wooden figure at home ? Look up where it comes from , the wood <unk> could be from Gröden . </s> \n",
      "\n",
      "Predicted: <unk> you want to drink drink meal in the , </s> \n",
      "(Train) BLEU (450 elements):  0.3479459533602638\n",
      ".....Step  18000\n",
      "Actual: There will be no cancellation charge if a booking is cancelled before 14 : 00 7 days before your date of arrival . </s> \n",
      "\n",
      "Predicted: One is be no cancellation charge if your booking is cancelled before 10 : 00 , days before your date of arrival . </s> \n",
      "(Train) BLEU (450 elements):  0.3426009214587878\n",
      "============= Step  18000  =============\n",
      "\t Loss:  0.7891795102506876\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and helpful . </s> \n",
      "\n",
      "DE:  Das Hotel Opera befindet sich in der Nähe des Royal Theatre , Kongens Nytorv , &apos; Stroget &apos; und Nyhavn .\n",
      "\n",
      "\t EN (TRUE):Hotel Opera is situated near The Royal Theatre , Kongens Nytorv , &quot; Strøget &quot; and fascinating Nyhavn .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city centre , only a few steps away from the city centre . </s> \n",
      "\n",
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "\t EN (TRUE):As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a <unk> ( <unk> ) , which is a <unk> ( <unk> ) , and the <unk> ( <unk> ) is a <unk> ( <unk> ) , and the <unk> ( <unk> ) is a short walk away . </s> \n",
      "\n",
      "DE:  Eine Woche später wird Dianne Feinstein , Vorstandsvorsitzende der Inspektoren , als Nachfolgerin Moscones ernannt . Sie ist die erste Bürgermeisterin der Stadt .\n",
      "\n",
      "\t EN (TRUE):Returning by the parallel Stockton or Powell will give you a better feeling of the day to day life of the residents , and are both good for those looking for imported commodities such as tea or herbs .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Das „ Ladino di Fassa “ ist jedoch mehr als ein Dialekt – es ist eine richtige Sprache .\n",
      "\n",
      "\t EN (TRUE):This is Ladin from Fassa which is more than a dialect : it is a language in its own right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very good . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Find the hotel for your booking confirmation . </s> \n",
      "\n",
      "DE:  Das Athens Gate Hotel liegt unterhalb der Akropolis nur 100 m vom neuen Akropolis ##AT##-##AT## Museum entfernt .\n",
      "\n",
      "\t EN (TRUE):The Athens Gate Hotel rests under the Acropolis , just 100 metres from the new Acropolis museum .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city centre , only a few minutes from the hotel . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; <unk> &quot; is a &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.16797199194665233\n",
      "=====================================================\n",
      ".....Step  18500\n",
      "Actual: They are known as the &quot; Angola Three , &quot; a trio of political prisoners whose supporters include Amnesty International , Archbishop Desmond Tutu , <unk> John <unk> , and the <unk> . </s> \n",
      "\n",
      "Predicted: It are also as a <unk> <unk> &quot; &quot; which <unk> &quot; &quot; the and , &quot; , the <unk> and and <unk> , , and , , , <unk> <unk> <unk> <unk> </s> \n",
      "(Train) BLEU (660 elements):  0.329518920339136\n",
      ".....Step  19000\n",
      "Actual: Hot / cold AC , intercom , double glazing , washing machine , ironing equipment , hairdryer , bed linens and towels , TV / Cable channels , WiFi internet connection . </s> \n",
      "\n",
      "Predicted: Room ##AT##-##AT## cold and , intercom , Dry glazing , washing machine , ironing equipment , hairdryer , hairdryer linens , towels , ironing / CD TV , bed ADSL connection , </s> \n",
      "(Train) BLEU (400 elements):  0.3328465558271823\n",
      "============= Step  19000  =============\n",
      "\t Loss:  0.8110131967365741\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Der nordwestliche Teil der Insel besteht aus Granit und Gneis , von Ton überlagert , und bildet eine ca.\n",
      "\n",
      "\t EN (TRUE):A battle between Denmark and Sweden in 1645 led to Swedish control of the island , but it was brief - they left again the same year . In the Roskildepeace of 1658 Bornholm , Skaane , Halland and Blekinge were given to Sweden .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  1 Nun ließ der Herr , Gott , die Hungersnot im Land Ur so schwer werden , daß a Haran , mein Bruder , starb ; aber b Terach , mein Vater , lebte noch im Land Ur der Chaldäer .\n",
      "\n",
      "\t EN (TRUE):1 Now the Lord God caused the a famine to wax sore in the land of Ur , insomuch that b Haran , my brother , died ; but c Terah , my father , yet lived in the land of Ur , of the Chaldees .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 5 But I say unto you , that I will not be a a good , that I shall be a b <unk> , and I will b be b a b <unk> , and I will b be b a <unk> , and the b <unk> of the Lord God . </s> \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This 4 ##AT##-##AT## star hotel is located in the heart of the city centre of the city centre , only 5 minutes from the city centre and the main railway station . </s> \n",
      "\n",
      "DE:  Genießen Sie hier in gemütlicher Atmosphäre ein kühles Kölsch oder einen erfrischenden Cocktail .\n",
      "\n",
      "\t EN (TRUE):Enjoy a local beer or refreshing cocktail in a cosy atmosphere .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Enjoy your stay in the hotel ’ s restaurant , a sauna and a sauna . </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the latest version of the <unk> version of your computer . </s> \n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Dazu kam die deutsche Beteiligung an AWACS ##AT##-##AT## Flügen .\n",
      "\n",
      "\t EN (TRUE):Additionally , the Germans participated in AWACS flights .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das Cleddau Bridge Hotel ist der ideale Platz um zu entspannen oder geschäftlich zu reisen .\n",
      "\n",
      "\t EN (TRUE):Cleddau Bridge hotel is the ideal place for those who want a relaxing holiday or who travel for business .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is situated in the centre of the city . </s> \n",
      "\n",
      "DE:  Obwohl das Nazi ##AT##-##AT## Regime die Buddhistische Gemeinde in Berlin , die seit 1936 aktiv gewesen war , schloss und kurzzeitig deren Begründer Martin Steinke 1941 inhaftierte , verfolgte es die Buddhisten nicht generell .\n",
      "\n",
      "\t EN (TRUE):Although the Nazi regime closed the Buddhistische Gemeinde ( Buddhist Society ) in Berlin , which had been active from 1936 , and briefly arrested its founder Martin Steinke in 1941 , they generally did not persecute Buddhists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  in dieser Option ermöglicht , Dateien relativ zum aktuellen Verzeichnis einzubinden .\n",
      "\n",
      "\t EN (TRUE):in the include path allows for relative includes as it means the current directory . However , it is more efficient to explicitly use include &apos; . / file &apos; than having PHP always check the current directory for every include .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are not supported by default , you can use the same file . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Test) BLEU (100 elements):  0.20869912638723012\n",
      "=====================================================\n",
      ".....Step  19500\n",
      "Actual: This has helped in bringing in an additional source of income to this golden sand beach town ! </s> \n",
      "\n",
      "Predicted: The is been to the the the <unk> way of the . the . . . . . </s> \n",
      "(Train) BLEU (480 elements):  0.3468944726919153\n",
      ".....Step  20000\n",
      "Actual: Click on a suggestion at any time to immediately execute the search without having to type the entire word or phrase . </s> \n",
      "\n",
      "Predicted: You on the button , the time , the , to <unk> of any to be the same process . the . </s> \n",
      "(Train) BLEU (540 elements):  0.3337865451035063\n",
      "============= Step  20000  =============\n",
      "\t Loss:  0.7970430867671967\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Je mehr Zeit wir mit Gilad und dem Rest des Teams in Israel verbracht haben ( um nicht den lauten Hahn zu erwähnen der schreiend bei denen über den Campus rennt ) desto überzeugter waren wir – zusammen können wir mehr bewegen .\n",
      "\n",
      "\t EN (TRUE):The more time we spent with Gilad as well as the rest of the team in Israel ( not to mention the very loud rooster that runs around in their campus ) , the more convinced we all became - we ’ ll be better off together .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a good place to get a <unk> and a lot of <unk> , but it is possible to get a lot of <unk> . </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): We are not responsible for the <unk> , and we will be able to find the best possible way to your needs . </s> \n",
      "\n",
      "DE:  Niedrigere Preise durch mehr Wettbewerb . Die Kosten für Kapital können durch Währungsstabilität , niedrigere Zinssätze und eine bessere Organisation der Kapitalmärkte gesenkt werden .\n",
      "\n",
      "\t EN (TRUE):In a knowledge ##AT##-##AT## based society the opportunity of education is the key to progress and equality and sustainability .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a wide range of applications and the most important software of the <unk> <unk> . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are using the <unk> , you will be able to find the <unk> . </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can download the latest version of the Windows Update Rollup . </s> \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a good idea of the <unk> , but it is possible to be a good idea of the <unk> , but it is possible to be a good idea of the <unk> . </s> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new tool for the <unk> . </s> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a great place to see the <unk> <unk> , which is the largest city centre , which is the largest city centre . </s> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): There is a bus stop at the <unk> ( <unk> ) , and the bus stop is a few minutes from the airport . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.19800138413604798\n",
      "=====================================================\n",
      ".....Step  20500\n",
      "Actual: We are an established and well experienced agency for individually guided special tours in the city of Berlin and the province of Brandenburg , including Potsdam , a historic city close to Berlin , with its fabulous Sanssouci Palace . </s> \n",
      "\n",
      "Predicted: The are also ideal by varied ##AT##-##AT## , , the , , , , the city centre <unk> , the <unk> of the , in the , <unk> <unk> , centre , the , and a numerous beaches , , </s> \n",
      "(Train) BLEU (660 elements):  0.3334572014828273\n",
      ".....Step  21000\n",
      "Actual: There is many more beautiful and interesting places to visit and not to forget <unk> and <unk> with its little shops and <unk> and antique centre for guests to <unk> and enjoy . The <unk> Arms Hotel offer you timeless ambience . </s> \n",
      "\n",
      "Predicted: The are a of than beaches modern facilities of be the the the be to . <unk> . the own beaches . restaurants . <unk> , . the . explore . <unk> the </s> \n",
      "(Train) BLEU (520 elements):  0.3446322685596911\n",
      "============= Step  21000  =============\n",
      "\t Loss:  0.8270817328095436\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "\t EN (TRUE):Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> ™ is a powerful tool for the NI Developer Suite Core Package to the NI Developer Suite Core Package to the NI Developer Suite Core Package to the <unk> ™ , and the <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  In dem traditionellen Fischerdorf werden ausländische Gäste sehr herzlich empfangen . Seien Sie allerdings gewarnt vor dem Zustand der Strasse und fahren Sie vorsichtig !\n",
      "\n",
      "\t EN (TRUE):It &apos;s a small traditional fishing village , with friendly locals , always very welcoming to British tourists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a good choice of <unk> , and a <unk> <unk> . </s> \n",
      "\n",
      "DE:  Private Parkplätze stehen für EUR 3,50 pro Tag in der Nähe zur Verfügung .\n",
      "\n",
      "\t EN (TRUE):Private parking is possible at a location nearby and costs EUR 3.50 per day .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Private parking is possible on site and costs EUR 12 <unk> per day . </s> \n",
      "\n",
      "DE:  Länge : 11,28m ; Breite : 3,66m ; Tiefgang : 0,30m ; Bj.2006 ; Liegeplatz : River Dart , Großbritannien ; 2 Motor ( en ) ; Volvo D4 260hp ; Description : The Bavaria Sport is a really impressive boat ...\n",
      "\n",
      "\t EN (TRUE):Length : 11.40m ( ~ 37.40 ft ) ; Beam : 3.68m ; Draft : 0.90m ; built 2005 ; Location : Orsera Nautika / Kroatien ##AT##-##AT## Vrsar , Croatia ( Hrvatska ) ; 2 Engine / manufac . ; Volvo Penta 5,7 GXI ; 478kW ; 430 Engine Hours ; Weight : 6.800kg ; Neues Raymarine C70 , verlängerte Badeplattform mit Staufächern , Kühlschr ...\n",
      "\n",
      "\n",
      "\t EN (Predicted): : &quot; <unk> &quot; , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Nach einigen Wanderwochen erreichten ich und Celina Warschau . Auf dem Weg zum jüdischen Komitee begegnete ich auf der Straße meinem Bruder !\n",
      "\n",
      "\t EN (TRUE):It turned out that Marek had jumped from the window of a train moving to Majdanek .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the center of the city , but it is a good location . </s> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very nice , close to the beach . </s> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The best of the most important thing of the <unk> <unk> is a good choice of the best quality . </s> \n",
      "\n",
      "DE:  Kosten Sie mediterrane Gerichte im preisgekrönten Restaurant Molyvos .\n",
      "\n",
      "\t EN (TRUE):Enjoy award winning Mediterranean cuisine at Molyvos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Enjoy your stay at the <unk> Restaurant . </s> \n",
      "\n",
      "DE:  Einst verwunschene Eilande , später Schlupfwinkel von Piraten , welche die goldbeladenen Schiffe der Spanier überfielen , sind diese unwirtlichen Inseln mit dem seltsamen Tierleben heute wohl eines der letzten großen Tierparadiese der Welt .\n",
      "\n",
      "\t EN (TRUE):Apart from its beautiful beaches and unique and varied ecosystems , the Galapagos Islands are home to towering active volcanoes that reach altitudes up to 1,600 meters .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Die Musikant entspricht dem Folkrock . Dennoch finden sich in den Liedern viele musikalische Elemente aus klassisch- folklorischer Liedern aus Anatolien bis zum Mittelmeer , aus Latein- amerikanischen Märschen bis hin zu klassischen Rockklängen .\n",
      "\n",
      "\t EN (TRUE):Yorum continues to sing hopeful songs in the name of all the world &apos;s revolutionary music .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.19291996920424342\n",
      "=====================================================\n",
      ".....Step  21500\n",
      "Actual: Asked about how he had grown out of it , Guinan explained a mother shapes her child in ways she doesn &apos;t even realize , sometimes just by listening . </s> \n",
      "\n",
      "Predicted: The <unk> the to was to to of the , and the in <unk> of in <unk> . the of was &apos;t have . that but , a the to </s> \n",
      "(Train) BLEU (570 elements):  0.3283536923010308\n",
      ".....Step  22000\n",
      "Actual: A credit card is required to secure your reservation at Hot ##AT##-##AT## el ##AT##-##AT## apartments Canon Court in Edinburgh . </s> \n",
      "\n",
      "Predicted: A credit card is required to secure your reservation at <unk> <unk> <unk> <unk> <unk> Hotel Hotel Hotel <unk> . </s> \n",
      "(Train) BLEU (490 elements):  0.34167329554847087\n",
      "============= Step  22000  =============\n",
      "\t Loss:  0.810443829163909\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Das Hotel Sempione verfügt über eine ideale , ruhige Lage in einem geschäftigen Viertel mit guter Verkehrsanbindung . Der Bahnhof und eine U ##AT##-##AT## Bahnstation liegen in der Nähe .\n",
      "\n",
      "\t EN (TRUE):Hotel Sempione welcomes you to a busy yet quiet area of Milan , within walking distance of excellent transport links , including the central railway station and the Repubblica metro station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Please note that you need to be able to use the user to the site . </s> \n",
      "\n",
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "\t EN (TRUE):As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a small town in the city , but the <unk> is a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  Die schlanke , einfache Oberfläche und die gute Performance machen es zum idealen Werkzeug , um dein Netbook ( oder normales Notebook ) in einen e ##AT##-##AT## Book Reader zu verwandeln .\n",
      "\n",
      "\t EN (TRUE):Its low resource use , simple interface and fast performance makes it the ideal tool to turn your netbook ( or regular laptop ) into an e ##AT##-##AT## book reader .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , and the <unk> <unk> is a real ##AT##-##AT## time of the <unk> . </s> \n",
      "\n",
      "DE:  Nach einigen Wanderwochen erreichten ich und Celina Warschau . Auf dem Weg zum jüdischen Komitee begegnete ich auf der Straße meinem Bruder !\n",
      "\n",
      "\t EN (TRUE):It turned out that Marek had jumped from the window of a train moving to Majdanek .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Please note that you need to be available . </s> \n",
      "\n",
      "DE:  Das Athens Gate Hotel liegt unterhalb der Akropolis nur 100 m vom neuen Akropolis ##AT##-##AT## Museum entfernt .\n",
      "\n",
      "\t EN (TRUE):The Athens Gate Hotel rests under the Acropolis , just 100 metres from the new Acropolis museum .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city centre , just a few minutes away from the <unk> . </s> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a range of dishes . </s> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a great choice for a long day , the hotel is located in the heart of the city . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18415633226596792\n",
      "=====================================================\n",
      ".....Step  22500\n",
      "Actual: Price $ 350 <unk> - New three bedroom two bath condominium located in the <unk> <unk> Community in the town of Playa de Coco , in the Guanacaste . . . </s> \n",
      "\n",
      "Predicted: The of <unk> / <unk> <unk> York <unk> - <unk> with with in the centre . . . the centre centre <unk> . <unk> <unk> in the heart of </s> \n",
      "(Train) BLEU (470 elements):  0.33582516085317643\n",
      ".....Step  23000\n",
      "Actual: A credit card is required to secure your reservation at The Old Ferry Boat in <unk> . </s> \n",
      "\n",
      "Predicted: A credit card is required to secure your reservation at <unk> <unk> Hotel Hotel in <unk> . </s> \n",
      "(Train) BLEU (480 elements):  0.345027110480789\n",
      "============= Step  23000  =============\n",
      "\t Loss:  0.8118608200252057\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you &apos;re not able to use the <unk> , you can find the <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> \n",
      "\n",
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small hotel located in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Private Parkplätze stehen für EUR 3,50 pro Tag in der Nähe zur Verfügung .\n",
      "\n",
      "\t EN (TRUE):Private parking is possible at a location nearby and costs EUR 3.50 per day .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Private parking is possible at a location nearby and costs EUR 6 <unk> per day . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Nachfolgend sehen Sie die Gästebewertungen von Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\t EN (TRUE):The guest reviews are submitted by our customers after their stay at Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The guest reviews are submitted by our customers after their stay at <unk> Hotel <unk> . </s> \n",
      "\n",
      "DE:  Naturreservat auf aufgeschüttetem Gelände am Río de la Plata .\n",
      "\n",
      "\t EN (TRUE):Wide selection of main courses including fresh pasta in homemade sauces ( $ 15 ##AT##-##AT## 30AR ) , traditional chicken dishes incuding Chicken Marsala ( $ 20AR- $ 30AR ) , and a variety of meats including Argentine parilla style steaks ( $ 35AR ) . The menu of seafood is worth considering with rareties such as fresh Yellow ##AT##-##AT## fin Tuna steak in a pesto sauce ( $ 30AR ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This is the case of the <unk> . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The <unk> &quot; is a new generation of the <unk> <unk> , which is the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "\t EN (TRUE):First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very good , but the hotel was very comfortable . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18957621898593638\n",
      "=====================================================\n",
      ".....Step  23500\n",
      "Actual: Jan <unk> , a Katowice journalist , said : &quot; This disaster is a symbol of the real face of Polish capitalism as we recognise it in Silesia : the quest for the maximum profit as quickly as possible , with no account for people . </s> \n",
      "\n",
      "Predicted: The <unk> , <unk> <unk> of of the : &quot; <unk> &quot; &quot; a &quot; of the <unk> time of the , , a have the to the to &quot; <unk> of the <unk> of of well as the to and the more , the who </s> \n",
      "(Train) BLEU (460 elements):  0.3317652873869442\n",
      ".....Step  24000\n",
      "Actual: The war between Richard and Philippe was a keen fight which extended from Normandy in Berry and the Flanders . </s> \n",
      "\n",
      "Predicted: The <unk> is the <unk> <unk> are a <unk> of to the the the to the . the <unk> of </s> \n",
      "(Train) BLEU (530 elements):  0.32833444152170593\n",
      "============= Step  24000  =============\n",
      "\t Loss:  0.8046398067474365\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  In der Hotelbeschreibung im Internet müßte die Zufahrt beschrieben werden .\n",
      "\n",
      "\t EN (TRUE):There are no adverse comments about this hotel at all .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a bit ##AT##-##AT## called <unk> . </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): We are not responsible for the price of the hotel , and we will be charged for the booking . </s> \n",
      "\n",
      "DE:  Private Parkplätze stehen für EUR 3,50 pro Tag in der Nähe zur Verfügung .\n",
      "\n",
      "\t EN (TRUE):Private parking is possible at a location nearby and costs EUR 3.50 per day .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Private parking is possible on site and costs EUR 17 <unk> per hour . </s> \n",
      "\n",
      "DE:  Genießen Sie hier in gemütlicher Atmosphäre ein kühles Kölsch oder einen erfrischenden Cocktail .\n",
      "\n",
      "\t EN (TRUE):Enjoy a local beer or refreshing cocktail in a cosy atmosphere .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can enjoy a drink or a snack or relax in the hotel . </s> \n",
      "\n",
      "DE:  Das „ Ladino di Fassa “ ist jedoch mehr als ein Dialekt – es ist eine richtige Sprache .\n",
      "\n",
      "\t EN (TRUE):This is Ladin from Fassa which is more than a dialect : it is a language in its own right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to see the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Baustelle zwischen See und Hotel . Altmodische Einrichtung .\n",
      "\n",
      "\t EN (TRUE):Shared lobby with campsite next door , apparently , and hotel check in / out were not handled by lobby staff but by restaurant staff .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Tux Racer wird Ihnen helfen , die Zeit totzuschlagen und sie können OpenOffice zum Arbeiten verwenden .\n",
      "\n",
      "\t EN (TRUE):Tux Racer will help you pass the time while you wait , and you can use OpenOffice for work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Im Fall Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) beteiligte sich die Mehrheit an einer umfangreichen Kritik an Flook und entschied , dass dieses Gericht irrt � mlicherweise � verschiedene gesetzliche Vorkehrungen , die begrifflich ohne Zusammenhang seien � , vermischt h � tte . Id . , unter 959 , 201 USPQ at 360 .\n",
      "\n",
      "\t EN (TRUE):In In re Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) , the majority engaged in an extensive critique ofFlook , concluding that this Court had erroneously commingled � distinct statutory provisions which are conceptually unrelated . � Id . , at 959 , 201 USPQ at 360 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Die Musikant entspricht dem Folkrock . Dennoch finden sich in den Liedern viele musikalische Elemente aus klassisch- folklorischer Liedern aus Anatolien bis zum Mittelmeer , aus Latein- amerikanischen Märschen bis hin zu klassischen Rockklängen .\n",
      "\n",
      "\t EN (TRUE):Yorum continues to sing hopeful songs in the name of all the world &apos;s revolutionary music .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.17344965420721994\n",
      "=====================================================\n",
      ".....Step  24500\n",
      "Actual: 12 If you a keep not my commandments , the b love of the Father shall not continue with you , therefore you shall c walk in darkness . </s> \n",
      "\n",
      "Predicted: 15 But ye are a the a a , and Lord <unk> of the Lord , be be to the . and , will be be . the . </s> \n",
      "(Train) BLEU (540 elements):  0.3318142900600687\n",
      ".....Step  25000\n",
      "Actual: Nestled in the historic Georgetown area of Washington , D <unk> . , only steps from major monuments , memorials and attractions , this all ##AT##-##AT## suite hotel features exceptional amenities along with first ##AT##-##AT## class . . . </s> \n",
      "\n",
      "Predicted: Located in the heart centre , , the , the &amp; , <unk> the a away the attractions , the ##AT##-##AT## <unk> , the modern ##AT##-##AT## star apartments is a facilities . the a ##AT##-##AT## class facilities . . </s> \n",
      "(Train) BLEU (460 elements):  0.32631885446728187\n",
      "============= Step  25000  =============\n",
      "\t Loss:  0.7969428250491619\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you have a problem , you can see the <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a great place for a short break in the city of <unk> , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Located in the heart of the city , this hotel is located in the heart of the city of <unk> , just a short walk from the beach and the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Eine Woche später wird Dianne Feinstein , Vorstandsvorsitzende der Inspektoren , als Nachfolgerin Moscones ernannt . Sie ist die erste Bürgermeisterin der Stadt .\n",
      "\n",
      "\t EN (TRUE):Returning by the parallel Stockton or Powell will give you a better feeling of the day to day life of the residents , and are both good for those looking for imported commodities such as tea or herbs .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Das „ Ladino di Fassa “ ist jedoch mehr als ein Dialekt – es ist eine richtige Sprache .\n",
      "\n",
      "\t EN (TRUE):This is Ladin from Fassa which is more than a dialect : it is a language in its own right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> is a great place to get a lot of fun . </s> \n",
      "\n",
      "DE:  Standort war sehr praktisch . In 5 Minuten ist man am Hauptbahnhof , in 10 Minuten im Bankenviertel .\n",
      "\n",
      "\t EN (TRUE):very central only a few minutes walk from Bohr / Ryanair bus stop and main train station.Generally cheap and cheerful .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city . </s> \n",
      "\n",
      "DE:  Auch ist , so denkt Dr. Gutherz , bereits die erste Seite sehr viel versprechend , da sie eine Definition des klinischen Psychotrauma ##AT##-##AT## Begriffes enthält , der er gänzlich zustimmen kann .\n",
      "\n",
      "\t EN (TRUE):At the rhetorical climax of this summary , Dr Goodheart comes across some sentences expressed with great pathos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): He was a <unk> of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This is a great example of the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Einst verwunschene Eilande , später Schlupfwinkel von Piraten , welche die goldbeladenen Schiffe der Spanier überfielen , sind diese unwirtlichen Inseln mit dem seltsamen Tierleben heute wohl eines der letzten großen Tierparadiese der Welt .\n",
      "\n",
      "\t EN (TRUE):Apart from its beautiful beaches and unique and varied ecosystems , the Galapagos Islands are home to towering active volcanoes that reach altitudes up to 1,600 meters .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Bei den romanischen Völkern paart sich die effektive Ohnmacht mit lächerlicher Anmaßung .\n",
      "\n",
      "\t EN (TRUE):To material weakness the Latin countries add a quite fantastic pretentiousness .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.14426213256968945\n",
      "=====================================================\n",
      ".....Step  25500\n",
      "Actual: If cancelled up to 7 days before date of arrival , 75 percent of all nights will be charged . </s> \n",
      "\n",
      "Predicted: If cancelled or to 5 days before date of arrival , no percent of all nights will be charged . </s> \n",
      "(Train) BLEU (520 elements):  0.33517849142426165\n",
      ".....Step  26000\n",
      "Actual: TWG makes no endorsement or other approval of any sites or data thereon . </s> \n",
      "\n",
      "Predicted: The is you information of any information , the kind , to , , </s> \n",
      "(Train) BLEU (430 elements):  0.33816464789507955\n",
      "============= Step  26000  =============\n",
      "\t Loss:  0.7977312912344933\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): be a <unk> , and the <unk> of the Lord , and the <unk> of the Lord , and the <unk> of the Lord . </s> \n",
      "\n",
      "DE:  Man schließt die Gitarre über Mikrofon oder Pickup an die PC Soundkarte an und schon kann es losgehen .\n",
      "\n",
      "\t EN (TRUE):You connect the guitar via microphone or pickup with the PC soundcard and you are ready !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also get a number of different types of <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This 4 ##AT##-##AT## star hotel is located in the heart of the city , close to the famous Kurfürstendamm boulevard and the <unk> <unk> and the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I have to be a new version of the <unk> ? </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> of the <unk> , the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , the <unk> <unk> , and the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new choice of the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Tux Racer wird Ihnen helfen , die Zeit totzuschlagen und sie können OpenOffice zum Arbeiten verwenden .\n",
      "\n",
      "\t EN (TRUE):Tux Racer will help you pass the time while you wait , and you can use OpenOffice for work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new choice of the <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The NI <unk> ##AT##-##AT## <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a short walk away from the city centre , and the <unk> is a short stroll away from the city . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1343741557104415\n",
      "=====================================================\n",
      ".....Step  26500\n",
      "Actual: For example , you bet that of the three dice rolled , at least two will show a five and a three . </s> \n",
      "\n",
      "Predicted: Please the , you can the the the <unk> ##AT##-##AT## , the the least a days be the <unk> ##AT##-##AT## more <unk> ##AT##-##AT## </s> \n",
      "(Train) BLEU (490 elements):  0.3235566869072196\n",
      ".....Step  27000\n",
      "Actual: Panasonic Lumix <unk> digital camera review : One year after the introduction of the TZ3 , and right before the PMA 2008 kicked off , Panasonic revealed the successor to the TZ3 : the Panasonic Lumix DMC ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "Predicted: The <unk> <unk> <unk> camera <unk> : The of ##AT##-##AT## the <unk> of the <unk> series the the in the first <unk> fiscal , the the , the <unk> to the <unk> <unk> <unk> <unk> <unk> DMC ##AT##-##AT## <unk> . </s> \n",
      "(Train) BLEU (450 elements):  0.33384045310930344\n",
      "============= Step  27000  =============\n",
      "\t Loss:  0.8093530108481646\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 2 Yea , I say unto you , that ye shall be a baptized by the Lord , and the Lord of God . </s> \n",
      "\n",
      "DE:  Man schließt die Gitarre über Mikrofon oder Pickup an die PC Soundkarte an und schon kann es losgehen .\n",
      "\n",
      "\t EN (TRUE):You connect the guitar via microphone or pickup with the PC soundcard and you are ready !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> to the <unk> , and the <unk> <unk> is a bit of the <unk> . </s> \n",
      "\n",
      "DE:  Residenz City Lodge befindet sich am mandelförmigen Sweelinckplein im Herzen des schicken Duinoord ##AT##-##AT## Viertels in Den Haag .\n",
      "\n",
      "\t EN (TRUE):In the midst of the bustling city life , an oasis of peace and luxury can be found bordering the beautiful Haagsche Park , across from the main train station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new hotel in the heart of the city , just a few minutes away from the city centre . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartment is located in the Costa de la Luz . </s> \n",
      "\n",
      "DE:  Genießen Sie das ganze Jahr über die Sonne und erfrischen Sie sich im Außenpool , während Ihre Kinder sicher in ihren eigenen Schwimmbecken spielen .\n",
      "\n",
      "\t EN (TRUE):Soak up the year ##AT##-##AT## round sunshine as you enjoy a dip in one of the outdoor swimming pools , as children play safely in their own pools .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Enjoy your stay in the hotel ’ s restaurant , you can enjoy the best of the hotel ’ s sauna and fitness centre . </s> \n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a <unk> of the <unk> and the <unk> <unk> , which is the <unk> of the <unk> and the <unk> <unk> , which is the <unk> of the <unk> and the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the best way to the <unk> . </s> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new way to the <unk> of the <unk> , and the <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Bamberg , die &quot; Traumstadt der Deutschen &quot; , seine aufgeschlossenen Menschen und seine romantische Umgebung wird auch Sie begeistern , denn sie bietet für jeden etwas .\n",
      "\n",
      "\t EN (TRUE):The beauty and rich cultural life of this town can be enjoyed at any time of year . Soak up the summer sun whilst relaxing at one of the many sidewalk cafés in the historic old town or savour a cool beer beneath a shady chestnut tree in one of the popular beer gardens .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , the <unk> of the <unk> , the <unk> of the <unk> , the <unk> and the <unk> of the <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18829983252954324\n",
      "=====================================================\n",
      ".....Step  27500\n",
      "Actual: Note : This function only checks one dimension of a n ##AT##-##AT## dimensional array . </s> \n",
      "\n",
      "Predicted: Note : If is is a the of to the file ##AT##-##AT## <unk> ##AT##-##AT## of </s> \n",
      "(Train) BLEU (450 elements):  0.33741035143724\n",
      ".....Step  28000\n",
      "Actual: Many other providers support MDF or store their measurement data as an MDF file . </s> \n",
      "\n",
      "Predicted: The of versions are is is <unk> the cards systems . well additional . . </s> \n",
      "(Train) BLEU (420 elements):  0.32934643185218143\n",
      "============= Step  28000  =============\n",
      "\t Loss:  0.7925037428438664\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a powerful tool for the <unk> <unk> , which is used to be used to the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Leicht und ergonomisch gebaut , mit einer Hand zu bedienen , stellen diese Messgeräte eine wirtschaftliche Lösung dar , wenn bei Verdacht auf Wanddickenverlust schnell geprüft werden soll .\n",
      "\n",
      "\t EN (TRUE):Lightweight and ergonomically designed for easy one ##AT##-##AT## hand operation , these gages provide cost ##AT##-##AT## effective measurement solutions in many applications that require quick inspection of materials suspected of metal wall thinning .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , the <unk> of the <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> \n",
      "\n",
      "DE:  shower was ok but leaked needed updating .\n",
      "\n",
      "\t EN (TRUE):the response to to requests was poor , phone 3 time for milk in the room over 4 hours .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very clean and comfortable . </s> \n",
      "\n",
      "DE:  Nach einigen Wanderwochen erreichten ich und Celina Warschau . Auf dem Weg zum jüdischen Komitee begegnete ich auf der Straße meinem Bruder !\n",
      "\n",
      "\t EN (TRUE):It turned out that Marek had jumped from the window of a train moving to Majdanek .\n",
      "\n",
      "\n",
      "\t EN (Predicted): In the evening , the hotel is located in the heart of the city centre , just a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> of the <unk> is not only a little bit , but it is not a problem , but it is not a problem , but it is not a problem . </s> \n",
      "\n",
      "DE:  Zusätzlich enthält TBarCode / SAPwin eine Menge neuer Strichcode ##AT##-##AT## Symbologien .\n",
      "\n",
      "\t EN (TRUE):In addition TBarCode / SAPwin comes with a bunch of new bar code symbologies .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a powerful tool for the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged EUR 29 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The <unk> &quot; is a new version of the <unk> <unk> , which is the most popular <unk> of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  in dieser Option ermöglicht , Dateien relativ zum aktuellen Verzeichnis einzubinden .\n",
      "\n",
      "\t EN (TRUE):in the include path allows for relative includes as it means the current directory . However , it is more efficient to explicitly use include &apos; . / file &apos; than having PHP always check the current directory for every include .\n",
      "\n",
      "\n",
      "\t EN (Predicted): ) , the <unk> is used to be used . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.17926801230539097\n",
      "=====================================================\n",
      ".....Step  28500\n",
      "Actual: This elegant contemporary 4 ##AT##-##AT## star hotel offers you spectacular views of Shanghai ’ s nightlife and excellent service in a central location with good public transport . </s> \n",
      "\n",
      "Predicted: The hotel hotel hotel ##AT##-##AT## star hotel is a a views of the &apos;s s most and the location to the central location in a facilities transport links </s> \n",
      "(Train) BLEU (540 elements):  0.3323899766706007\n",
      ".....Step  29000\n",
      "Actual: After installation Zend Studio will work out of the box and will not request a license during the evaluation period . </s> \n",
      "\n",
      "Predicted: After the , Explorer , be with of the <unk> , the be be . new . the first . . </s> \n",
      "(Train) BLEU (550 elements):  0.33334894039328555\n",
      "============= Step  29000  =============\n",
      "\t Loss:  0.8002245064526796\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are not able to use the <unk> , you can get a <unk> to the <unk> , and the <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  In dem traditionellen Fischerdorf werden ausländische Gäste sehr herzlich empfangen . Seien Sie allerdings gewarnt vor dem Zustand der Strasse und fahren Sie vorsichtig !\n",
      "\n",
      "\t EN (TRUE):It &apos;s a small traditional fishing village , with friendly locals , always very welcoming to British tourists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city , just a few minutes from the main railway station , the <unk> and the <unk> . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The <unk> &quot; is a great place to find the most important <unk> of the world . </s> \n",
      "\n",
      "DE:  Wenn eine Speicherung der Daten auf dem Client erfolgen soll , werden Cookys verwendet .\n",
      "\n",
      "\t EN (TRUE):When client data storage is needed , cookies are used .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the PHP is not installed , it is not used . </s> \n",
      "\n",
      "DE:  Da jedes SCXI ##AT##-##AT## Modul die Signale auf einen einzigen Kanal des Datenerfassungsmoduls multiplext , lassen sich problemlos weitere Module hinzufügen , was für eine höhere Kanalanzahl sorgt .\n",
      "\n",
      "\t EN (TRUE):It can multiplex its signals into a single channel of the DAQ device , and you can add modules to increase channel count .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place for the <unk> , and the <unk> <unk> is a great place for a relaxing break . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the latest version of the <unk> . </s> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a great place for the <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the user to the latest version of the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.20747282991768012\n",
      "=====================================================\n",
      ".....Step  29500\n",
      "Actual: <unk> whether the given variable is a scalar . </s> \n",
      "\n",
      "Predicted: <unk> <unk> you file value is returned <unk> . </s> \n",
      "(Train) BLEU (470 elements):  0.34871209014905946\n",
      ".....Step  30000\n",
      "Actual: Shops selling the same items tend to congregate in the same part of the city . </s> \n",
      "\n",
      "Predicted: The in from best way in to be in the city way of the city . </s> \n",
      "(Train) BLEU (430 elements):  0.34252252075448997\n",
      "============= Step  30000  =============\n",
      "\t Loss:  0.7986488868147135\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  &#124; Ferienwohnungen 1 Zi &#124; Ferienhäuser &#124; Landhäuser &#124; Autovermietung &#124; Last Minute Angebote ! !\n",
      "\n",
      "\t EN (TRUE):&#124; 1 Bedroom Apts &#124; Holiday houses &#124; Rural Homes &#124; Car Rental &#124; Last Minute Offers !\n",
      "\n",
      "\n",
      "\t EN (Predicted): Apartments &#124; Apartments &#124; Apartments &#124; Apartments &#124; Apartments &#124; Apartments &#124; Apartments &#124; Apartments &#124; Things &#124; Last Minute Offers ! </s> \n",
      "\n",
      "DE:  Man schließt die Gitarre über Mikrofon oder Pickup an die PC Soundkarte an und schon kann es losgehen .\n",
      "\n",
      "\t EN (TRUE):You connect the guitar via microphone or pickup with the PC soundcard and you are ready !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> <unk> , and the <unk> is a <unk> . </s> \n",
      "\n",
      "DE:  Das ist viel einfacher ... Nein , streiten Sie nicht mit mir ... es ist einfacher ... ach , wie auch immer !\n",
      "\n",
      "\t EN (TRUE):This is far more easy ... no , don &apos;t argue with me ... it is easier ... ah whatever !\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a little bit more than a few years ago . </s> \n",
      "\n",
      "DE:  Die schlanke , einfache Oberfläche und die gute Performance machen es zum idealen Werkzeug , um dein Netbook ( oder normales Notebook ) in einen e ##AT##-##AT## Book Reader zu verwandeln .\n",
      "\n",
      "\t EN (TRUE):Its low resource use , simple interface and fast performance makes it the ideal tool to turn your netbook ( or regular laptop ) into an e ##AT##-##AT## book reader .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  bietet ihnen die Möglichkeit , alte ABAP ##AT##-##AT## Reports mit samt ihrer betriebswirtschaftlichen Intelligenz trotz des Umstiegs auf die MS ##AT##-##AT## Umgebung weiter zu nutzen .\n",
      "\n",
      "\t EN (TRUE):Uses the BW extractor API to extract data from productive R / 3 systems by using delta mechanisms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is the leading provider of the <unk> and the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Baustelle zwischen See und Hotel . Altmodische Einrichtung .\n",
      "\n",
      "\t EN (TRUE):Shared lobby with campsite next door , apparently , and hotel check in / out were not handled by lobby staff but by restaurant staff .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n",
      "DE:  Naturreservat auf aufgeschüttetem Gelände am Río de la Plata .\n",
      "\n",
      "\t EN (TRUE):Wide selection of main courses including fresh pasta in homemade sauces ( $ 15 ##AT##-##AT## 30AR ) , traditional chicken dishes incuding Chicken Marsala ( $ 20AR- $ 30AR ) , and a variety of meats including Argentine parilla style steaks ( $ 35AR ) . The menu of seafood is worth considering with rareties such as fresh Yellow ##AT##-##AT## fin Tuna steak in a pesto sauce ( $ 30AR ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a small hotel with a view of the city . </s> \n",
      "\n",
      "DE:  Das Athens Gate Hotel liegt unterhalb der Akropolis nur 100 m vom neuen Akropolis ##AT##-##AT## Museum entfernt .\n",
      "\n",
      "\t EN (TRUE):The Athens Gate Hotel rests under the Acropolis , just 100 metres from the new Acropolis museum .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the centre of the city centre . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The <unk> &quot; is a <unk> ##AT##-##AT## based <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> , the <unk> <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Das Personal war immer hilfsbereit und freundlich .\n",
      "\n",
      "\t EN (TRUE):The location and helpfulness of staff was excellent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the staff were very helpful . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.2029474204344393\n",
      "=====================================================\n",
      ".....Step  30500\n",
      "Actual: More than one thousand islands and reefs make the Croatian coast the most indented on the Mediterranean , and the second most indented coasts in all of Europe . </s> \n",
      "\n",
      "Predicted: The is the of minutes are the , the best <unk> of <unk> important . the island Sea the the <unk> floor of . is the the the . </s> \n",
      "(Train) BLEU (430 elements):  0.33472050272352577\n",
      ".....Step  31000\n",
      "Actual: A bottle of Harrogate Spa water to refresh you . </s> \n",
      "\n",
      "Predicted: The bit of <unk> is is is be the . </s> \n",
      "(Train) BLEU (480 elements):  0.32808672680306517\n",
      "============= Step  31000  =============\n",
      "\t Loss:  0.7813404258042574\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "\t EN (TRUE):Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the latest version of the <unk> , and the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Alle unterstützten Barcode Varianten sind in einem einzigen Interface konfigurierbar .\n",
      "\n",
      "\t EN (TRUE):All supported bar code formats are configurable through one single interface .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All of the most important software is available in the PHP Certification exam . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Our apartments offer a total of 50 apartments , with a total of 90 rooms . </s> \n",
      "\n",
      "DE:  Wenn eine Speicherung der Daten auf dem Client erfolgen soll , werden Cookys verwendet .\n",
      "\n",
      "\t EN (TRUE):When client data storage is needed , cookies are used .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are not supported by the <unk> . </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new tool for the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The people who have to be able to be able to be able to be able to be able to be a matter of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The following versions of the <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This is the result of the <unk> . </s> \n",
      "\n",
      "DE:  Im Fall Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) beteiligte sich die Mehrheit an einer umfangreichen Kritik an Flook und entschied , dass dieses Gericht irrt � mlicherweise � verschiedene gesetzliche Vorkehrungen , die begrifflich ohne Zusammenhang seien � , vermischt h � tte . Id . , unter 959 , 201 USPQ at 360 .\n",
      "\n",
      "\t EN (TRUE):In In re Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) , the majority engaged in an extensive critique ofFlook , concluding that this Court had erroneously commingled � distinct statutory provisions which are conceptually unrelated . � Id . , at 959 , 201 USPQ at 360 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Test) BLEU (100 elements):  0.19006423732903646\n",
      "=====================================================\n",
      ".....Step  31500\n",
      "Actual: In this regard , <unk> is not responsible for potential delays , accidents , losses , change of schedule or rates , damages ( neither for persons nor for objects ) , in its suppliers services . </s> \n",
      "\n",
      "Predicted: In the case , the , a only for the , , and , and , and , the , other , and , s , the ) any any , , or the sole , , </s> \n",
      "(Train) BLEU (650 elements):  0.3554795180478177\n",
      ".....Step  32000\n",
      "Actual: It has air conditioning unit and SAT / TV . </s> \n",
      "\n",
      "Predicted: The is a conditioning , , a ##AT##-##AT## shower . </s> \n",
      "(Train) BLEU (370 elements):  0.36025448124638154\n",
      "============= Step  32000  =============\n",
      "\t Loss:  0.802255646944046\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Je mehr Zeit wir mit Gilad und dem Rest des Teams in Israel verbracht haben ( um nicht den lauten Hahn zu erwähnen der schreiend bei denen über den Campus rennt ) desto überzeugter waren wir – zusammen können wir mehr bewegen .\n",
      "\n",
      "\t EN (TRUE):The more time we spent with Gilad as well as the rest of the team in Israel ( not to mention the very loud rooster that runs around in their campus ) , the more convinced we all became - we ’ ll be better off together .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is not a problem of the hotel , but the hotel is not a hotel , but not only a few minutes from the hotel . </s> \n",
      "\n",
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is located in the heart of the <unk> , in the heart of the <unk> , in the heart of the <unk> , in the heart of the <unk> , in the heart of the city . </s> \n",
      "\n",
      "DE:  Residenz City Lodge befindet sich am mandelförmigen Sweelinckplein im Herzen des schicken Duinoord ##AT##-##AT## Viertels in Den Haag .\n",
      "\n",
      "\t EN (TRUE):In the midst of the bustling city life , an oasis of peace and luxury can be found bordering the beautiful Haagsche Park , across from the main train station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the <unk> Valley , in the heart of the city . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday Inn Apartments is located in the Costa del Sol , Spain . </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new project for the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n",
      "DE:  Naturreservat auf aufgeschüttetem Gelände am Río de la Plata .\n",
      "\n",
      "\t EN (TRUE):Wide selection of main courses including fresh pasta in homemade sauces ( $ 15 ##AT##-##AT## 30AR ) , traditional chicken dishes incuding Chicken Marsala ( $ 20AR- $ 30AR ) , and a variety of meats including Argentine parilla style steaks ( $ 35AR ) . The menu of seafood is worth considering with rareties such as fresh Yellow ##AT##-##AT## fin Tuna steak in a pesto sauce ( $ 30AR ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is located in the centre of <unk> . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One further older child or adult is charged EUR 20 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Zimmerbeschreibung : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\t EN (TRUE):Room Notes : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Room Notes : The <unk> Hotel in <unk> are located in the heart of the city , with its own private garden , with a private garden . </s> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a very good way to get a lot of <unk> and <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18072541528089456\n",
      "=====================================================\n",
      ".....Step  32500\n",
      "Actual: <unk> &apos;s <unk> <unk> , an integrated , reliable telecommunications infrastructure management solution , will shorten your response time during any critical situation and will improve your business intelligence , thus putting your planning / management approach on a well ##AT##-##AT## documented , strategic and cost ##AT##-##AT## effective basis . </s> \n",
      "\n",
      "Predicted: <unk> , <unk> , , <unk> <unk> ##AT##-##AT## <unk> and and , , , and be the company to to the time event , the be the own and and and and the own to <unk> and and the new ##AT##-##AT## known solution and and professional . effective solution . </s> \n",
      "(Train) BLEU (470 elements):  0.34769254184028603\n",
      ".....Step  33000\n",
      "Actual: At an incredible 23 <unk> mm thickness , this Fujifilm digital camera is just so easy to carry , even when slipped into the <unk> of <unk> pockets . The flush exterior boasts a funky sliding lens cover and gorgeous two ##AT##-##AT## tone effect . </s> \n",
      "\n",
      "Predicted: The the additional <unk> year <unk> <unk> , the is is camera <unk> a a that to use out and if the , the <unk> <unk> the <unk> <unk> </s> \n",
      "(Train) BLEU (530 elements):  0.34472334874733934\n",
      "============= Step  33000  =============\n",
      "\t Loss:  0.7855980616658926\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "\t EN (TRUE):Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the user interface for the <unk> , and the user interface is not available for the user and the user interface for the purposes of the <unk> , and the user is not available . </s> \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new version of the <unk> <unk> ( <unk> ) , which is the most powerful version of the <unk> <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you want to do so , you can find the best way to the <unk> , and you can find the best way to the <unk> . </s> \n",
      "\n",
      "DE:  shower was ok but leaked needed updating .\n",
      "\n",
      "\t EN (TRUE):the response to to requests was poor , phone 3 time for milk in the room over 4 hours .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very good . </s> \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very good , but it is very good . </s> \n",
      "\n",
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the <unk> Hotel <unk> ? </s> \n",
      "\n",
      "DE:  Mitglieder geniessen viele zus � tzliche Leistungen wie optimierter Sicherheit , schnelleren Auszahlungszeiten und der Aufhebung von Kreditkarteneinzahlungslimits .\n",
      "\n",
      "\t EN (TRUE):Members enjoy a range of perks including enhanced security and protection , faster withdrawals and increased credit card deposit limits .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  With a unique location in the heart of Peneda / Gerês National Park , this Pousada has a breathking view over the river Cávado and the peaceful Caniçada dam .\n",
      "\n",
      "\t EN (TRUE):Located in the heart of Peneda ##AT##-##AT## Gerês National Park , this guest house boasts panoramic views of the surrounding mountains and is a welcome retreat for nature enthusiasts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): NI <unk> is a powerful tool for the NI Measurement Suite Core Package , and the NI <unk> ##AT##-##AT## <unk> is a powerful tool for the NI PXI ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.16536774689155634\n",
      "=====================================================\n",
      ".....Step  33500\n",
      "Actual: Only a few minutes by car to shopping areas , restaurants , bars , banks , beaches , and golf courses . </s> \n",
      "\n",
      "Predicted: The a few steps walk car and the , , the , bars , restaurants , bars , and many courses , </s> \n",
      "(Train) BLEU (520 elements):  0.3428756732410074\n",
      ".....Step  34000\n",
      "Actual: One older child or adult is charged USD 12 <unk> per night and person when using existing bedding . </s> \n",
      "\n",
      "Predicted: One older child or adult is charged EUR 25 <unk> per night and person in using existing bedding . </s> \n",
      "(Train) BLEU (470 elements):  0.343062053640844\n",
      "============= Step  34000  =============\n",
      "\t Loss:  0.7831136641800404\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "\t EN (TRUE):Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the leading provider of the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> , and the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  1 Nun ließ der Herr , Gott , die Hungersnot im Land Ur so schwer werden , daß a Haran , mein Bruder , starb ; aber b Terach , mein Vater , lebte noch im Land Ur der Chaldäer .\n",
      "\n",
      "\t EN (TRUE):1 Now the Lord God caused the a famine to wax sore in the land of Ur , insomuch that b Haran , my brother , died ; but c Terah , my father , yet lived in the land of Ur , of the Chaldees .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 1 But behold , I say unto you , that ye shall be a baptized unto you , and the b mysteries of the earth , and the c <unk> of the earth , and the c <unk> of the earth , and the c <unk> of the earth , and the d <unk> of the earth , and the \n",
      "\n",
      "DE:  Private Parkplätze stehen für EUR 3,50 pro Tag in der Nähe zur Verfügung .\n",
      "\n",
      "\t EN (TRUE):Private parking is possible at a location nearby and costs EUR 3.50 per day .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Private parking is possible on site and costs EUR 25 <unk> per day . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I do not have to download the game ? </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , which is the best way to get the best way to the <unk> . </s> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  With a unique location in the heart of Peneda / Gerês National Park , this Pousada has a breathking view over the river Cávado and the peaceful Caniçada dam .\n",
      "\n",
      "\t EN (TRUE):Located in the heart of Peneda ##AT##-##AT## Gerês National Park , this guest house boasts panoramic views of the surrounding mountains and is a welcome retreat for nature enthusiasts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can download the UpdateStar of the <unk> <unk> , which is available in the UpdateStar . </s> \n",
      "\n",
      "DE:  in dieser Option ermöglicht , Dateien relativ zum aktuellen Verzeichnis einzubinden .\n",
      "\n",
      "\t EN (TRUE):in the include path allows for relative includes as it means the current directory . However , it is more efficient to explicitly use include &apos; . / file &apos; than having PHP always check the current directory for every include .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you are not able to use the <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.16245120272038746\n",
      "=====================================================\n",
      ".....Step  34500\n",
      "Actual: Booking .com : Hotels near Stockholm Viking Line Terminal , Sweden . </s> \n",
      "\n",
      "Predicted: Booking .com : hotel near <unk> , , <unk> , United . </s> \n",
      "(Train) BLEU (600 elements):  0.3365923232713931\n",
      ".....Step  35000\n",
      "Actual: But is undeniable that Watson receives more attention that someone her age , and that ’ s what she criticises when it ’ s said it ’ d be easy to be Emma Watson . </s> \n",
      "\n",
      "Predicted: But if the , the <unk> the than to the would own , and the the s <unk> I said the he is s not , was s <unk> able to the able . . </s> \n",
      "(Train) BLEU (450 elements):  0.36319193978904035\n",
      "============= Step  35000  =============\n",
      "\t Loss:  0.7877508752048016\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  In der Hotelbeschreibung im Internet müßte die Zufahrt beschrieben werden .\n",
      "\n",
      "\t EN (TRUE):There are no adverse comments about this hotel at all .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the most important way to the <unk> . </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): We have a complete list of the best way to the website , and you can find the best way to the <unk> . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All apartments are equipped with a total of 2 rooms , 2 bedrooms , 2 bathrooms , 2 single beds , a safe and a safe . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Tarifa - <unk> in the Costa de la Luz , Spain , Spain . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the most important way to the <unk> of the <unk> , and the <unk> is the most important way to the <unk> . </s> \n",
      "\n",
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the <unk> Hotel <unk> <unk> ? </s> \n",
      "\n",
      "DE:  Wünschen Sie Unterstützung bei der der Zentrensuche ?\n",
      "\n",
      "\t EN (TRUE):Would you like being assisted in searching a specialised centre ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can find the best information on the website . </s> \n",
      "\n",
      "DE:  Das Cleddau Bridge Hotel ist der ideale Platz um zu entspannen oder geschäftlich zu reisen .\n",
      "\n",
      "\t EN (TRUE):Cleddau Bridge hotel is the ideal place for those who want a relaxing holiday or who travel for business .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city . </s> \n",
      "\n",
      "DE:  Im Fall Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) beteiligte sich die Mehrheit an einer umfangreichen Kritik an Flook und entschied , dass dieses Gericht irrt � mlicherweise � verschiedene gesetzliche Vorkehrungen , die begrifflich ohne Zusammenhang seien � , vermischt h � tte . Id . , unter 959 , 201 USPQ at 360 .\n",
      "\n",
      "\t EN (TRUE):In In re Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) , the majority engaged in an extensive critique ofFlook , concluding that this Court had erroneously commingled � distinct statutory provisions which are conceptually unrelated . � Id . , at 959 , 201 USPQ at 360 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a bit far from the city center , but it is advisable to be <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.224965148632006\n",
      "=====================================================\n",
      ".....Step  35500\n",
      "Actual: Not applicable for the hotel but the train station in the nights is very exhausting . </s> \n",
      "\n",
      "Predicted: The a , the price , it hotel station is the hotel are very good . </s> \n",
      "(Train) BLEU (480 elements):  0.341052485966019\n",
      ".....Step  36000\n",
      "Actual: Fair and pleasant staff but some receptionist doesn &apos;t speak English . </s> \n",
      "\n",
      "Predicted: The <unk> <unk> , were staff of the &apos;t have to . </s> \n",
      "(Train) BLEU (540 elements):  0.3647805685912179\n",
      "============= Step  36000  =============\n",
      "\t Loss:  0.7670264379233122\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a great place to stay in the hotel . </s> \n",
      "\n",
      "DE:  In raschem Tempo werden die Modelle angepasst und erneuert .\n",
      "\n",
      "\t EN (TRUE):The models are quickly being improved and renewed .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a complete list of the highest quality . </s> \n",
      "\n",
      "DE:  Private Parkplätze stehen für EUR 3,50 pro Tag in der Nähe zur Verfügung .\n",
      "\n",
      "\t EN (TRUE):Private parking is possible at a location nearby and costs EUR 3.50 per day .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Private parking is possible on site and costs EUR 7 <unk> per day . </s> \n",
      "\n",
      "DE:  shower was ok but leaked needed updating .\n",
      "\n",
      "\t EN (TRUE):the response to to requests was poor , phone 3 time for milk in the room over 4 hours .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and comfortable . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  bietet ihnen die Möglichkeit , alte ABAP ##AT##-##AT## Reports mit samt ihrer betriebswirtschaftlichen Intelligenz trotz des Umstiegs auf die MS ##AT##-##AT## Umgebung weiter zu nutzen .\n",
      "\n",
      "\t EN (TRUE):Uses the BW extractor API to extract data from productive R / 3 systems by using delta mechanisms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): In the <unk> , the <unk> <unk> is a new generation of the <unk> and the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Baustelle zwischen See und Hotel . Altmodische Einrichtung .\n",
      "\n",
      "\t EN (TRUE):Shared lobby with campsite next door , apparently , and hotel check in / out were not handled by lobby staff but by restaurant staff .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All the best options for your needs . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): is a string to the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Zimmerbeschreibung : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\t EN (TRUE):Room Notes : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Room Notes : The <unk> Hotel in <unk> are located in the heart of the city , with a total of charge of the hotel , which is available in the hotel . </s> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , which is the best ##AT##-##AT## to ##AT##-##AT## use of the <unk> <unk> to the <unk> <unk> <unk> to the <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.21842863099718118\n",
      "=====================================================\n",
      ".....Step  36500\n",
      "Actual: After <unk> spatial columns with values , you are ready to query and analyze them . </s> \n",
      "\n",
      "Predicted: After the , , , the , you can using to make the the the . </s> \n",
      "(Train) BLEU (570 elements):  0.34797533089984445\n",
      ".....Step  37000\n",
      "Actual: The measured data recorded during network development , analysis , and ECU calibration can be read into <unk> in various formats for post ##AT##-##AT## processing . </s> \n",
      "\n",
      "Predicted: In <unk> <unk> is by the applications is the , and ##AT##-##AT## systems systems be used to the ##AT##-##AT## the formats . the ##AT##-##AT## based . </s> \n",
      "(Train) BLEU (450 elements):  0.34332079057742876\n",
      "============= Step  37000  =============\n",
      "\t Loss:  0.7867511373013258\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Zum klimatisierten Hotel gehören auch ein Whirpool und eine traumhafte Sonnenterrasse .\n",
      "\n",
      "\t EN (TRUE):Apart from this , the guests can enjoy the facility of an independent air ##AT##-##AT## conditioning system , a jacuzzi and a beautiful sun terrace .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel offers a wide range of facilities and services . </s> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 17 But behold , they were not a a <unk> , and the b <unk> of the b <unk> of the b prophets , and the c <unk> of the c prophets , and the d <unk> of the c prophets of the Lord . </s> \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Located in the heart of the city centre , this 4 ##AT##-##AT## star hotel is located in the heart of the city centre , only a few minutes from the city centre and the city centre . </s> \n",
      "\n",
      "DE:  Die schlanke , einfache Oberfläche und die gute Performance machen es zum idealen Werkzeug , um dein Netbook ( oder normales Notebook ) in einen e ##AT##-##AT## Book Reader zu verwandeln .\n",
      "\n",
      "\t EN (TRUE):Its low resource use , simple interface and fast performance makes it the ideal tool to turn your netbook ( or regular laptop ) into an e ##AT##-##AT## book reader .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the NI Developer Suite Core Package for the <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new version of the <unk> <unk> , which is the best way to the <unk> <unk> , which is the best way to get a new version of the <unk> . </s> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city centre . </s> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n",
      "DE:  Das Athens Gate Hotel liegt unterhalb der Akropolis nur 100 m vom neuen Akropolis ##AT##-##AT## Museum entfernt .\n",
      "\n",
      "\t EN (TRUE):The Athens Gate Hotel rests under the Acropolis , just 100 metres from the new Acropolis museum .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city centre , only a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  Bei einer digitalen Bildkette wird das Intensitätssignal für jedes Pixel ohne analoge Zwischenschritte direkt in der Detektoreinheit digitalisiert , d.h. in Zahlen umgewandelt .\n",
      "\n",
      "\t EN (TRUE):A digital image chain is an image chain that is equipped with a digital detector instead of an analogue one .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city centre , only a few minutes from the city centre , the <unk> and the <unk> <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Test) BLEU (100 elements):  0.18972078900098718\n",
      "=====================================================\n",
      ".....Step  37500\n",
      "Actual: They include 154 <unk> and 38 plays , such as Hamlet , <unk> , The <unk> , Henry V , Julius Caesar , <unk> , A Midsummer Night &apos;s Dream , and The Merchant of Venice . </s> \n",
      "\n",
      "Predicted: The are the , , <unk> <unk> . and as <unk> . and , <unk> <unk> , <unk> <unk> , <unk> , , <unk> , <unk> <unk> , , <unk> , and the <unk> . the . </s> \n",
      "(Train) BLEU (400 elements):  0.3500323467060276\n",
      ".....Step  38000\n",
      "Actual: This family ##AT##-##AT## friendly , 3 ##AT##-##AT## star hotel offers comfortable accommodation in <unk> just a 5 ##AT##-##AT## minute drive away from Frankfurt Main Airport , around 15 kilometres south of Frankfurt city centre . </s> \n",
      "\n",
      "Predicted: This modern run run hotel 3 ##AT##-##AT## star hotel is a accommodation in the , a few ##AT##-##AT## minute walk from from the ’ , , just the minutes from of the . centre . </s> \n",
      "(Train) BLEU (460 elements):  0.34514880148681304\n",
      "============= Step  38000  =============\n",
      "\t Loss:  0.784312549725175\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Das Hotel Sempione verfügt über eine ideale , ruhige Lage in einem geschäftigen Viertel mit guter Verkehrsanbindung . Der Bahnhof und eine U ##AT##-##AT## Bahnstation liegen in der Nähe .\n",
      "\n",
      "\t EN (TRUE):Hotel Sempione welcomes you to a busy yet quiet area of Milan , within walking distance of excellent transport links , including the central railway station and the Repubblica metro station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city centre , just a few minutes away from the city centre and the city centre . </s> \n",
      "\n",
      "DE:  Das Hotel Opera befindet sich in der Nähe des Royal Theatre , Kongens Nytorv , &apos; Stroget &apos; und Nyhavn .\n",
      "\n",
      "\t EN (TRUE):Hotel Opera is situated near The Royal Theatre , Kongens Nytorv , &quot; Strøget &quot; and fascinating Nyhavn .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city centre , just a few minutes away from the city centre . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The <unk> &quot; is the most important way to the <unk> , and the <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Die schlanke , einfache Oberfläche und die gute Performance machen es zum idealen Werkzeug , um dein Netbook ( oder normales Notebook ) in einen e ##AT##-##AT## Book Reader zu verwandeln .\n",
      "\n",
      "\t EN (TRUE):Its low resource use , simple interface and fast performance makes it the ideal tool to turn your netbook ( or regular laptop ) into an e ##AT##-##AT## book reader .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Zitate mit unterschiedlichsten stilistischen Effekten treffen aufeinander : Referenzen auf das narrative Autorenkino ( Hitchcock , Eisenstein , Godard , Brian De Palma ) , poetische oder theoretische Texte ( Tschechow , Duras , Barthes , Žižek , Weibel , Gržinić ) und Verweise auf Massenmedien – B ##AT##-##AT## Filme , TV ##AT##-##AT## Shows , Werbespots , politische Nachrichtensendungen .\n",
      "\n",
      "\t EN (TRUE):Out of all this material , mixed with disnarrative polysemy and an astonishing lack of inhibition , strange “ fictions ” are reconstructed — fragmentary fictions that are constantly interrupted .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Baustelle zwischen See und Hotel . Altmodische Einrichtung .\n",
      "\n",
      "\t EN (TRUE):Shared lobby with campsite next door , apparently , and hotel check in / out were not handled by lobby staff but by restaurant staff .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the center of the city . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This is the most important part of the <unk> . </s> \n",
      "\n",
      "DE:  Zimmerbeschreibung : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\t EN (TRUE):Room Notes : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Room Notes : The <unk> <unk> Hotel is located in the <unk> <unk> , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Bei den romanischen Völkern paart sich die effektive Ohnmacht mit lächerlicher Anmaßung .\n",
      "\n",
      "\t EN (TRUE):To material weakness the Latin countries add a quite fantastic pretentiousness .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.20527314776534383\n",
      "=====================================================\n",
      ".....Step  38500\n",
      "Actual: As well as having one of the most prestigious and most convenient locations in Edinburgh , the <unk> Hotel offers the very best in comfort . </s> \n",
      "\n",
      "Predicted: The a as the a of the most popular hotels <unk> popular hotels in the , the <unk> <unk> is a best best ##AT##-##AT## the and </s> \n",
      "(Train) BLEU (540 elements):  0.35309155145581356\n",
      ".....Step  39000\n",
      "Actual: I would not wish to eat breakfast a second time . </s> \n",
      "\n",
      "Predicted: The liked recommend have to stay a and day night . </s> \n",
      "(Train) BLEU (390 elements):  0.35454107215261854\n",
      "============= Step  39000  =============\n",
      "\t Loss:  0.7695487914383411\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  In der Hotelbeschreibung im Internet müßte die Zufahrt beschrieben werden .\n",
      "\n",
      "\t EN (TRUE):There are no adverse comments about this hotel at all .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a <unk> <unk> . </s> \n",
      "\n",
      "DE:  Man schließt die Gitarre über Mikrofon oder Pickup an die PC Soundkarte an und schon kann es losgehen .\n",
      "\n",
      "\t EN (TRUE):You connect the guitar via microphone or pickup with the PC soundcard and you are ready !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find the <unk> <unk> <unk> <unk> , which is the most important part of the <unk> . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a very good way to find a lot of <unk> and <unk> . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the <unk> is not available in the same time . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a major role in the world of the world . </s> \n",
      "\n",
      "DE:  Das Haus liegt in der CCZ ##AT##-##AT## Umweltzone und bietet eine sehr gute Anbindung an das Bus- und U ##AT##-##AT## Bahnnetz .\n",
      "\n",
      "\t EN (TRUE):Set inside the central London congestion ##AT##-##AT## charging zone , this modern hotel has superb transport links , with access to the Tube and the bus network practically on the doorstep .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a very good place to stay in the city centre . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Zusätzlich enthält TBarCode / SAPwin eine Menge neuer Strichcode ##AT##-##AT## Symbologien .\n",
      "\n",
      "\t EN (TRUE):In addition TBarCode / SAPwin comes with a bunch of new bar code symbologies .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a powerful tool for the NI <unk> . </s> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to find a great place to get a place of the <unk> and the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I don &apos;t have to be able to do so I would like to do this . </s> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city centre , only a few minutes from the city centre , the <unk> and the <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.20836231954583645\n",
      "=====================================================\n",
      ".....Step  39500\n",
      "Actual: Room Notes : CLASSIC DOUBLE ROOM - These rooms are stylishly furnished and decorated to ensure that a pleasant and memorable stay is experienced . </s> \n",
      "\n",
      "Predicted: Room Notes : CLASSIC TWIN <unk> , These are are equipped decorated , modern with the a the relaxing stay relaxing stay . a . </s> \n",
      "(Train) BLEU (510 elements):  0.34070257873550525\n",
      ".....Step  40000\n",
      "Actual: If this time is exceeded , or if an error occurs , this is verified by one of the other test stations . </s> \n",
      "\n",
      "Predicted: If you is , not , you if you additional is in you is not on the or the most variables rights . </s> \n",
      "(Train) BLEU (590 elements):  0.3514581805327941\n",
      "============= Step  40000  =============\n",
      "\t Loss:  0.7854481125026941\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Zum klimatisierten Hotel gehören auch ein Whirpool und eine traumhafte Sonnenterrasse .\n",
      "\n",
      "\t EN (TRUE):Apart from this , the guests can enjoy the facility of an independent air ##AT##-##AT## conditioning system , a jacuzzi and a beautiful sun terrace .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city centre . </s> \n",
      "\n",
      "DE:  1 Nun ließ der Herr , Gott , die Hungersnot im Land Ur so schwer werden , daß a Haran , mein Bruder , starb ; aber b Terach , mein Vater , lebte noch im Land Ur der Chaldäer .\n",
      "\n",
      "\t EN (TRUE):1 Now the Lord God caused the a famine to wax sore in the land of Ur , insomuch that b Haran , my brother , died ; but c Terah , my father , yet lived in the land of Ur , of the Chaldees .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 1 Behold , I say unto you , that I will not have a <unk> , and the b <unk> of the Lord , and the b <unk> of the b <unk> of the Lord , and the b <unk> of the b prophets of God . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The <unk> &quot; is the best way to the <unk> of the <unk> <unk> , the <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartments in Tarifa , Spain , Spain « Rural Apts « « « Rural Apts « « « Rural Apts « « « « « « « « « « « - <unk> . . . </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the location was excellent . </s> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is not available for the price of the hotel . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged USD 25 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find the latest version of the <unk> <unk> , and you can download the latest version of the world . </s> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1984235099038345\n",
      "=====================================================\n",
      ".....Step  40500\n",
      "Actual: If a problem occurs in one of these software programs , you are asked if you want to report it . </s> \n",
      "\n",
      "Predicted: If you single is , the of the cases , , you can not to you are to use . . </s> \n",
      "(Train) BLEU (490 elements):  0.3451537593021858\n",
      ".....Step  41000\n",
      "Actual: Enjoy a refreshing drink from the snack bar in the pool area , or a cocktail in the lobby bar . </s> \n",
      "\n",
      "Predicted: The the drink drink with the <unk> bar or the bar bar . a enjoy cocktail bar the bar bar . </s> \n",
      "(Train) BLEU (490 elements):  0.3514362672604643\n",
      "============= Step  41000  =============\n",
      "\t Loss:  0.7990772894173861\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 30 Wherefore , verily , I say unto you , that they may be a <unk> , and the b <unk> of the Lord . </s> \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> <unk> to the <unk> file , and then click on the corresponding button of the <unk> button . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "\t EN (TRUE):As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a small and small town of <unk> , but there is a lot of cheap restaurants , as well as the city center . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I use the <unk> ? </s> \n",
      "\n",
      "DE:  Zitate mit unterschiedlichsten stilistischen Effekten treffen aufeinander : Referenzen auf das narrative Autorenkino ( Hitchcock , Eisenstein , Godard , Brian De Palma ) , poetische oder theoretische Texte ( Tschechow , Duras , Barthes , Žižek , Weibel , Gržinić ) und Verweise auf Massenmedien – B ##AT##-##AT## Filme , TV ##AT##-##AT## Shows , Werbespots , politische Nachrichtensendungen .\n",
      "\n",
      "\t EN (TRUE):Out of all this material , mixed with disnarrative polysemy and an astonishing lack of inhibition , strange “ fictions ” are reconstructed — fragmentary fictions that are constantly interrupted .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> of the <unk> , and the <unk> of the <unk> of the <unk> , and the <unk> of the <unk> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The most important thing is possible to be able to use the <unk> . </s> \n",
      "\n",
      "DE:  With a unique location in the heart of Peneda / Gerês National Park , this Pousada has a breathking view over the river Cávado and the peaceful Caniçada dam .\n",
      "\n",
      "\t EN (TRUE):Located in the heart of Peneda ##AT##-##AT## Gerês National Park , this guest house boasts panoramic views of the surrounding mountains and is a welcome retreat for nature enthusiasts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I don &apos;t know that I can &apos;t have to be able to get a bit . </s> \n",
      "\n",
      "DE:  Bamberg , die &quot; Traumstadt der Deutschen &quot; , seine aufgeschlossenen Menschen und seine romantische Umgebung wird auch Sie begeistern , denn sie bietet für jeden etwas .\n",
      "\n",
      "\t EN (TRUE):The beauty and rich cultural life of this town can be enjoyed at any time of year . Soak up the summer sun whilst relaxing at one of the many sidewalk cafés in the historic old town or savour a cool beer beneath a shady chestnut tree in one of the popular beer gardens .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> of the <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "(Test) BLEU (100 elements):  0.199628330204869\n",
      "=====================================================\n",
      ".....Step  41500\n",
      "Actual: Casas <unk> or Turismo Rural are very old countryside cottages , which were renovated authentically . </s> \n",
      "\n",
      "Predicted: <unk> <unk> , <unk> <unk> <unk> located close , . . but is built in in </s> \n",
      "(Train) BLEU (520 elements):  0.36136761107811416\n",
      ".....Step  42000\n",
      "Actual: Not all cruise lines participate , so check with your cruise line to see if you can take advantage of the <unk> Check ##AT##-##AT## in / US Direct program . </s> \n",
      "\n",
      "Predicted: The only the ##AT##-##AT## , in the that ##AT##-##AT## the car ##AT##-##AT## , the the you are get a of the city , . Bahn . <unk> <unk> to . </s> \n",
      "(Train) BLEU (490 elements):  0.3427505872604331\n",
      "============= Step  42000  =============\n",
      "\t Loss:  0.7817506592571736\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and comfortable . </s> \n",
      "\n",
      "DE:  In raschem Tempo werden die Modelle angepasst und erneuert .\n",
      "\n",
      "\t EN (TRUE):The models are quickly being improved and renewed .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a real ##AT##-##AT## time basis for the <unk> . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Our apartments are located in the <unk> Valley , in the <unk> Valley , in the <unk> Valley . </s> \n",
      "\n",
      "DE:  Länge : 11,28m ; Breite : 3,66m ; Tiefgang : 0,30m ; Bj.2006 ; Liegeplatz : River Dart , Großbritannien ; 2 Motor ( en ) ; Volvo D4 260hp ; Description : The Bavaria Sport is a really impressive boat ...\n",
      "\n",
      "\t EN (TRUE):Length : 11.40m ( ~ 37.40 ft ) ; Beam : 3.68m ; Draft : 0.90m ; built 2005 ; Location : Orsera Nautika / Kroatien ##AT##-##AT## Vrsar , Croatia ( Hrvatska ) ; 2 Engine / manufac . ; Volvo Penta 5,7 GXI ; 478kW ; 430 Engine Hours ; Weight : 6.800kg ; Neues Raymarine C70 , verlängerte Badeplattform mit Staufächern , Kühlschr ...\n",
      "\n",
      "\n",
      "\t EN (Predicted): : <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and helpful . </s> \n",
      "\n",
      "DE:  Booking.com : Best Western Hotell SöderH , Söderhamn , Schweden - 29 Gästebewertungen .\n",
      "\n",
      "\t EN (TRUE):Booking.com : Best Western Hotell SöderH , Söderhamn , Sweden - 29 Guest reviews .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Booking .com : <unk> <unk> Hotel <unk> <unk> ? </s> \n",
      "\n",
      "DE:  Auch ist , so denkt Dr. Gutherz , bereits die erste Seite sehr viel versprechend , da sie eine Definition des klinischen Psychotrauma ##AT##-##AT## Begriffes enthält , der er gänzlich zustimmen kann .\n",
      "\n",
      "\t EN (TRUE):At the rhetorical climax of this summary , Dr Goodheart comes across some sentences expressed with great pathos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I was not able to be a <unk> , but I was told that the Enterprise was not very helpful . </s> \n",
      "\n",
      "DE:  Alle älteren Kinder oder Erwachsene zahlen EUR 32,00 pro Übernachtung und Person für Zustellbetten .\n",
      "\n",
      "\t EN (TRUE):All older children or adults are charged EUR 32.00 per night and person for extra beds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All older children or adults are charged EUR 25 <unk> per night and person for extra beds . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> to your computer , and you can use the <unk> file . </s> \n",
      "\n",
      "DE:  Bei den romanischen Völkern paart sich die effektive Ohnmacht mit lächerlicher Anmaßung .\n",
      "\n",
      "\t EN (TRUE):To material weakness the Latin countries add a quite fantastic pretentiousness .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18680152199011393\n",
      "=====================================================\n",
      ".....Step  42500\n",
      "Actual: They ’ re just like the real thing , but in a smaller pack . </s> \n",
      "\n",
      "Predicted: You are re ##AT##-##AT## a a <unk> time . but it the sense part . </s> \n",
      "(Train) BLEU (590 elements):  0.34651900681555425\n",
      ".....Step  43000\n",
      "Actual: Look forward to functional but comfortable furniture and ample room for manoeuvre . </s> \n",
      "\n",
      "Predicted: The forward to the and the . . comfortable . . a . </s> \n",
      "(Train) BLEU (480 elements):  0.3537087909830853\n",
      "============= Step  43000  =============\n",
      "\t Loss:  0.7721757386773824\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Zum klimatisierten Hotel gehören auch ein Whirpool und eine traumhafte Sonnenterrasse .\n",
      "\n",
      "\t EN (TRUE):Apart from this , the guests can enjoy the facility of an independent air ##AT##-##AT## conditioning system , a jacuzzi and a beautiful sun terrace .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a convenient base for exploring the city . </s> \n",
      "\n",
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a small hotel located in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Located in the heart of the city centre , this 4 ##AT##-##AT## star hotel is located in the heart of the city centre , only a few minutes from the city centre and the city centre . </s> \n",
      "\n",
      "DE:  Die schlanke , einfache Oberfläche und die gute Performance machen es zum idealen Werkzeug , um dein Netbook ( oder normales Notebook ) in einen e ##AT##-##AT## Book Reader zu verwandeln .\n",
      "\n",
      "\t EN (TRUE):Its low resource use , simple interface and fast performance makes it the ideal tool to turn your netbook ( or regular laptop ) into an e ##AT##-##AT## book reader .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Da jedes SCXI ##AT##-##AT## Modul die Signale auf einen einzigen Kanal des Datenerfassungsmoduls multiplext , lassen sich problemlos weitere Module hinzufügen , was für eine höhere Kanalanzahl sorgt .\n",
      "\n",
      "\t EN (TRUE):It can multiplex its signals into a single channel of the DAQ device , and you can add modules to increase channel count .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Standort war sehr praktisch . In 5 Minuten ist man am Hauptbahnhof , in 10 Minuten im Bankenviertel .\n",
      "\n",
      "\t EN (TRUE):very central only a few minutes walk from Bohr / Ryanair bus stop and main train station.Generally cheap and cheerful .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The &quot; <unk> &quot; is a &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a variety of different types of different types of different types of different types . </s> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city centre , only a few minutes from the city centre and the city centre . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.15757043255402067\n",
      "=====================================================\n",
      ".....Step  43500\n",
      "Actual: Vancouver has been awarded the 2010 Olympic Winter Games , and this event will no doubt cast Vancouver into the world spotlight once again . </s> \n",
      "\n",
      "Predicted: The is a a by <unk> for Games . . and the is is be longer . out . the <unk> . . . . </s> \n",
      "(Train) BLEU (580 elements):  0.3397739720413099\n",
      ".....Step  44000\n",
      "Actual: <unk> 00 : 41 : 19 <unk> -- &gt; 00 : 41 : 21 <unk> After much soul ##AT##-##AT## searching and much deliberation <unk> 00 : 41 : 21 <unk> -- &gt; 00 : 41 : 23 <unk> I have finally agreed to allow cameras <unk> 00 : 41 : 23 <unk> -- &gt; 00 : 41 : 26 <unk> \n",
      "\n",
      "Predicted: <unk> 00 : 08 : 37 <unk> -- &gt; 00 : 16 : 43 <unk> -- the the , <unk> , the more 00 00 : 00 : 37 , -- &gt; 00 : 12 : 43 <unk> I have to to to the to . ? : 00 : 00 <unk> -- &gt; 00 : 12 : 43 <unk> \n",
      "(Train) BLEU (450 elements):  0.3416388321724846\n",
      "============= Step  44000  =============\n",
      "\t Loss:  0.7783537725806237\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very convenient to the airport and the hotel is very close to the city centre . </s> \n",
      "\n",
      "DE:  Alle unterstützten Barcode Varianten sind in einem einzigen Interface konfigurierbar .\n",
      "\n",
      "\t EN (TRUE):All supported bar code formats are configurable through one single interface .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All the new features are available in the <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Our apartments in <unk> is located in the south of Spain , in the south of Spain . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the <unk> , the <unk> , and the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new version of the <unk> <unk> , which is the best way to the <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Mitglieder geniessen viele zus � tzliche Leistungen wie optimierter Sicherheit , schnelleren Auszahlungszeiten und der Aufhebung von Kreditkarteneinzahlungslimits .\n",
      "\n",
      "\t EN (TRUE):Members enjoy a range of perks including enhanced security and protection , faster withdrawals and increased credit card deposit limits .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The &quot; <unk> &quot; is a &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; <unk> &quot; is a &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; \n",
      "\n",
      "DE:  Bamberg , die &quot; Traumstadt der Deutschen &quot; , seine aufgeschlossenen Menschen und seine romantische Umgebung wird auch Sie begeistern , denn sie bietet für jeden etwas .\n",
      "\n",
      "\t EN (TRUE):The beauty and rich cultural life of this town can be enjoyed at any time of year . Soak up the summer sun whilst relaxing at one of the many sidewalk cafés in the historic old town or savour a cool beer beneath a shady chestnut tree in one of the popular beer gardens .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.15780128374533092\n",
      "=====================================================\n",
      ".....Step  44500\n",
      "Actual: Learn more or Watch demo video . </s> \n",
      "\n",
      "Predicted: You more about more on information files </s> \n",
      "(Train) BLEU (510 elements):  0.35013817976863415\n",
      ".....Step  45000\n",
      "Actual: Check www <unk> .com / go / <unk> for functionality available to You . </s> \n",
      "\n",
      "Predicted: To out <unk> .com / <unk> to <unk> . the . . your . </s> \n",
      "(Train) BLEU (410 elements):  0.36026945553676704\n",
      "============= Step  45000  =============\n",
      "\t Loss:  0.789254360705614\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Der nordwestliche Teil der Insel besteht aus Granit und Gneis , von Ton überlagert , und bildet eine ca.\n",
      "\n",
      "\t EN (TRUE):A battle between Denmark and Sweden in 1645 led to Swedish control of the island , but it was brief - they left again the same year . In the Roskildepeace of 1658 Bornholm , Skaane , Halland and Blekinge were given to Sweden .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small and medium sized ##AT##-##AT## sized ##AT##-##AT## sized ##AT##-##AT## sized ##AT##-##AT## sized enterprises ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the only result of the <unk> <unk> , which is the only one of the most important and the most important and the most important . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Our apartments in the apartments of the apartments are located in the south of the city , in the center of the city . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the use of the <unk> , the <unk> is not only . </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): is the name of the <unk> file , the <unk> <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Das Haus liegt in der CCZ ##AT##-##AT## Umweltzone und bietet eine sehr gute Anbindung an das Bus- und U ##AT##-##AT## Bahnnetz .\n",
      "\n",
      "\t EN (TRUE):Set inside the central London congestion ##AT##-##AT## charging zone , this modern hotel has superb transport links , with access to the Tube and the bus network practically on the doorstep .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to stay in the city centre , with a great location , close to the beach , and the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The most important thing is the most important part of the world . </s> \n",
      "\n",
      "DE:  Kosten Sie mediterrane Gerichte im preisgekrönten Restaurant Molyvos .\n",
      "\n",
      "\t EN (TRUE):Enjoy award winning Mediterranean cuisine at Molyvos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Enjoy the best of the hotel ’ s restaurant . </s> \n",
      "\n",
      "DE:  Zimmerbeschreibung : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\t EN (TRUE):Room Notes : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Room Notes : This luxurious en suite rooms are furnished with modern comforts , including a large garden , a large terrace , a large terrace , a sauna and a terrace . </s> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , which is the best version of the <unk> <unk> , which is the best version of the <unk> <unk> , which is the best version of the <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.20754971876955697\n",
      "=====================================================\n",
      ".....Step  45500\n",
      "Actual: But such Perfect <unk> may continue to help people by <unk> Parts of the Self in the world of the Creation . </s> \n",
      "\n",
      "Predicted: The , as , , be to be you who the , , the <unk> , the <unk> . the world . </s> \n",
      "(Train) BLEU (550 elements):  0.3465506485994943\n",
      ".....Step  46000\n",
      "Actual: Palm Garden Resort has a total of 160 well ##AT##-##AT## decorated rooms , including 20 bungalows , 14 of which are located on the beach , facing the ocean , while the other 6 are located in a beautiful garden setting . </s> \n",
      "\n",
      "Predicted: The is is is a great of 33 apartments ##AT##-##AT## equipped apartments , and a rooms , 2 ##AT##-##AT## the are available in the beach . and the beach . and the <unk> are people . in the small area . . </s> \n",
      "(Train) BLEU (440 elements):  0.33896714904678565\n",
      "============= Step  46000  =============\n",
      "\t Loss:  0.7819067806750536\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 17 But behold , the Lord shall be a <unk> , and the b <unk> of the Lord , and the b <unk> of the earth , and the c <unk> of the earth shall be c damned . </s> \n",
      "\n",
      "DE:  Private Parkplätze stehen für EUR 3,50 pro Tag in der Nähe zur Verfügung .\n",
      "\n",
      "\t EN (TRUE):Private parking is possible at a location nearby and costs EUR 3.50 per day .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Private parking is possible at a location nearby . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I use the <unk> ? </s> \n",
      "\n",
      "DE:  Das „ Ladino di Fassa “ ist jedoch mehr als ein Dialekt – es ist eine richtige Sprache .\n",
      "\n",
      "\t EN (TRUE):This is Ladin from Fassa which is more than a dialect : it is a language in its own right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a great place to get a lot of fun . </s> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged EUR 15 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Zimmerbeschreibung : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\t EN (TRUE):Room Notes : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Room Notes : The <unk> Hotel is situated in the centre of the city , in the centre of the city , in the centre of the city . </s> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the world , and the new version of the <unk> release is a new version of the world , and the new version of the <unk> <unk> is a new version of the world . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.2047695967645897\n",
      "=====================================================\n",
      ".....Step  46500\n",
      "Actual: The tour is usually conducted in English and starts at the Tallinn Traveler Information Tent ( located on the square in front of the official Tallinn Tourist Information Center ) . The tour also includes a snack at the end . </s> \n",
      "\n",
      "Predicted: The <unk> of a located by the , French in the <unk> <unk> . . from <unk> in the <unk> ) the of the hotel part ) ) ) ) . </s> \n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Train) BLEU (420 elements):  0.3399680982891162\n",
      ".....Step  47000\n",
      "Actual: This page was last edited at 17 : 30 , on 21 May 2009 by D . <unk> . </s> \n",
      "\n",
      "Predicted: This page was last edited at 15 : 35 , on 3 May 2009 by Anonymous . <unk> . </s> \n",
      "(Train) BLEU (720 elements):  0.34900324028663826\n",
      "============= Step  47000  =============\n",
      "\t Loss:  0.7700317024290562\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the location was excellent . </s> \n",
      "\n",
      "DE:  Alle unterstützten Barcode Varianten sind in einem einzigen Interface konfigurierbar .\n",
      "\n",
      "\t EN (TRUE):All supported bar code formats are configurable through one single interface .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All of the most important features are available in the <unk> . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): “ <unk> <unk> ” is a great choice of <unk> and <unk> . </s> \n",
      "\n",
      "DE:  Die schlanke , einfache Oberfläche und die gute Performance machen es zum idealen Werkzeug , um dein Netbook ( oder normales Notebook ) in einen e ##AT##-##AT## Book Reader zu verwandeln .\n",
      "\n",
      "\t EN (TRUE):Its low resource use , simple interface and fast performance makes it the ideal tool to turn your netbook ( or regular laptop ) into an e ##AT##-##AT## book reader .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new tool for the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Genießen Sie das ganze Jahr über die Sonne und erfrischen Sie sich im Außenpool , während Ihre Kinder sicher in ihren eigenen Schwimmbecken spielen .\n",
      "\n",
      "\t EN (TRUE):Soak up the year ##AT##-##AT## round sunshine as you enjoy a dip in one of the outdoor swimming pools , as children play safely in their own pools .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Enjoy the best of the hotel ’ s room , a bar and a bar , a bar and a bar . </s> \n",
      "\n",
      "DE:  Standort war sehr praktisch . In 5 Minuten ist man am Hauptbahnhof , in 10 Minuten im Bankenviertel .\n",
      "\n",
      "\t EN (TRUE):very central only a few minutes walk from Bohr / Ryanair bus stop and main train station.Generally cheap and cheerful .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the location was excellent . </s> \n",
      "\n",
      "DE:  Wünschen Sie Unterstützung bei der der Zentrensuche ?\n",
      "\n",
      "\t EN (TRUE):Would you like being assisted in searching a specialised centre ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can find the information on the website . </s> \n",
      "\n",
      "DE:  Alle älteren Kinder oder Erwachsene zahlen EUR 32,00 pro Übernachtung und Person für Zustellbetten .\n",
      "\n",
      "\t EN (TRUE):All older children or adults are charged EUR 32.00 per night and person for extra beds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All older children or adults are charged EUR 35 <unk> per night and person for extra beds . </s> \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> file for the <unk> file , and you can download the version of the <unk> . </s> \n",
      "\n",
      "DE:  Das Personal war immer hilfsbereit und freundlich .\n",
      "\n",
      "\t EN (TRUE):The location and helpfulness of staff was excellent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very friendly and helpful . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1995002746689356\n",
      "=====================================================\n",
      ".....Step  47500\n",
      "Actual: Pradollano provides a circuit of 4km length passing by some of the highest peaks of the Peninsula . </s> \n",
      "\n",
      "Predicted: The is a variety of the from . in the of the most possible . the island . </s> \n",
      "(Train) BLEU (530 elements):  0.3463622017995978\n",
      ".....Step  48000\n",
      "Actual: What and who you can find at <unk> . </s> \n",
      "\n",
      "Predicted: This are the are can find the the <unk> </s> \n",
      "(Train) BLEU (440 elements):  0.3433717594507077\n",
      "============= Step  48000  =============\n",
      "\t Loss:  0.7731889254748822\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "\t EN (TRUE):Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the most popular version of the world , and the <unk> is a new version of the world , and the new version of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  In dem traditionellen Fischerdorf werden ausländische Gäste sehr herzlich empfangen . Seien Sie allerdings gewarnt vor dem Zustand der Strasse und fahren Sie vorsichtig !\n",
      "\n",
      "\t EN (TRUE):It &apos;s a small traditional fishing village , with friendly locals , always very welcoming to British tourists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to find a wide range of restaurants and bars . </s> \n",
      "\n",
      "DE:  Residenz City Lodge befindet sich am mandelförmigen Sweelinckplein im Herzen des schicken Duinoord ##AT##-##AT## Viertels in Den Haag .\n",
      "\n",
      "\t EN (TRUE):In the midst of the bustling city life , an oasis of peace and luxury can be found bordering the beautiful Haagsche Park , across from the main train station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the use of the data is not only the case of the <unk> . </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can download the version of the <unk> version of the Windows Vista . </s> \n",
      "\n",
      "DE:  Booking.com : Best Western Hotell SöderH , Söderhamn , Schweden - 29 Gästebewertungen .\n",
      "\n",
      "\t EN (TRUE):Booking.com : Best Western Hotell SöderH , Söderhamn , Sweden - 29 Guest reviews .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Booking .com : hotel <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Mitglieder geniessen viele zus � tzliche Leistungen wie optimierter Sicherheit , schnelleren Auszahlungszeiten und der Aufhebung von Kreditkarteneinzahlungslimits .\n",
      "\n",
      "\t EN (TRUE):Members enjoy a range of perks including enhanced security and protection , faster withdrawals and increased credit card deposit limits .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new and innovative solution for the <unk> and <unk> <unk> . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged USD 30 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a lot of information on the best . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> is a new version of the <unk> <unk> , which is the best for the <unk> <unk> <unk> , which is the best way to play on the <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1846077853162149\n",
      "=====================================================\n",
      ".....Step  48500\n",
      "Actual: There aren &apos;t any limits to strike , try as many times as you want and save your team ! </s> \n",
      "\n",
      "Predicted: If are &apos;t a information of the a you to you as . you are to to the own . </s> \n",
      "(Train) BLEU (480 elements):  0.35245045326200714\n",
      ".....Step  49000\n",
      "Actual: Work out in the small fitness room and have a swim in the thermal indoor pool . </s> \n",
      "\n",
      "Predicted: The in the the <unk> <unk> area , the a free in the hotel of pool . </s> \n",
      "(Train) BLEU (480 elements):  0.36145032073382516\n",
      "============= Step  49000  =============\n",
      "\t Loss:  0.7593858000785112\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  &#124; Ferienwohnungen 1 Zi &#124; Ferienhäuser &#124; Landhäuser &#124; Autovermietung &#124; Last Minute Angebote ! !\n",
      "\n",
      "\t EN (TRUE):&#124; 1 Bedroom Apts &#124; Holiday houses &#124; Rural Homes &#124; Car Rental &#124; Last Minute Offers !\n",
      "\n",
      "\n",
      "\t EN (Predicted): Apartments &#124; Hotels &#124; Hotels &#124; Hostels &#124; Hotels &#124; Hostels &#124; Last Minute Offers ! </s> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 20 But the Lord shall be a baptized by the people of the church , and the Lord shall be b baptized by the Gentiles , and the Lord shall be b baptized by the Gentiles , and the Lord shall be b judged . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartments in the Costa de la luz is a small town of Tarifa . </s> \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very friendly and helpful . </s> \n",
      "\n",
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the <unk> Hotel <unk> ? </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Windows Media Player is available in the Mandriva Linux 2009 version of Windows XP . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged USD 25 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Obwohl das Nazi ##AT##-##AT## Regime die Buddhistische Gemeinde in Berlin , die seit 1936 aktiv gewesen war , schloss und kurzzeitig deren Begründer Martin Steinke 1941 inhaftierte , verfolgte es die Buddhisten nicht generell .\n",
      "\n",
      "\t EN (TRUE):Although the Nazi regime closed the Buddhistische Gemeinde ( Buddhist Society ) in Berlin , which had been active from 1936 , and briefly arrested its founder Martin Steinke in 1941 , they generally did not persecute Buddhists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I was able to have a lot of <unk> , but I have a lot of <unk> , but I have a lot of <unk> . </s> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1839297667212215\n",
      "=====================================================\n",
      ".....Step  49500\n",
      "Actual: At the Hotel Real Palacio , you will be impressed by the high standards of our hospitality , including state of the art facilities and elegant surroundings . </s> \n",
      "\n",
      "Predicted: The the heart <unk> , , the can find able with the <unk> ##AT##-##AT## of the hotel and modern a ##AT##-##AT## the art , , the facilities , </s> \n",
      "(Train) BLEU (580 elements):  0.3537418385284179\n",
      ".....Step  50000\n",
      "Actual: The GPIB ##AT##-##AT## USB ##AT##-##AT## HS controller works with Windows 2000 / XP / Me / 98 and Linux computers that have a USB port . </s> \n",
      "\n",
      "Predicted: The NI ##AT##-##AT## <unk> ##AT##-##AT## HS ##AT##-##AT## is with a Vista / XP , XP , XP / XP ® / can been wide <unk> . </s> \n",
      "(Train) BLEU (500 elements):  0.3595084773546092\n",
      "============= Step  50000  =============\n",
      "\t Loss:  0.7653965337127447\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Das Hotel Sempione verfügt über eine ideale , ruhige Lage in einem geschäftigen Viertel mit guter Verkehrsanbindung . Der Bahnhof und eine U ##AT##-##AT## Bahnstation liegen in der Nähe .\n",
      "\n",
      "\t EN (TRUE):Hotel Sempione welcomes you to a busy yet quiet area of Milan , within walking distance of excellent transport links , including the central railway station and the Repubblica metro station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is a modern hotel in the centre of the city , just a few minutes away from the city centre . </s> \n",
      "\n",
      "DE:  Alle unterstützten Barcode Varianten sind in einem einzigen Interface konfigurierbar .\n",
      "\n",
      "\t EN (TRUE):All supported bar code formats are configurable through one single interface .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All of the most important features are available in the <unk> . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Our apartments are located in the <unk> <unk> , in the <unk> section , in the <unk> section , with its own private beach . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the use of the use of the data is not available . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the best way to find the best way to the <unk> , and the <unk> <unk> is a new tool for the <unk> . </s> \n",
      "\n",
      "DE:  Baustelle zwischen See und Hotel . Altmodische Einrichtung .\n",
      "\n",
      "\t EN (TRUE):Shared lobby with campsite next door , apparently , and hotel check in / out were not handled by lobby staff but by restaurant staff .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the location was very good . </s> \n",
      "\n",
      "DE:  Zusätzlich enthält TBarCode / SAPwin eine Menge neuer Strichcode ##AT##-##AT## Symbologien .\n",
      "\n",
      "\t EN (TRUE):In addition TBarCode / SAPwin comes with a bunch of new bar code symbologies .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can download the latest version of the <unk> . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): is the name of the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Im Fall Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) beteiligte sich die Mehrheit an einer umfangreichen Kritik an Flook und entschied , dass dieses Gericht irrt � mlicherweise � verschiedene gesetzliche Vorkehrungen , die begrifflich ohne Zusammenhang seien � , vermischt h � tte . Id . , unter 959 , 201 USPQ at 360 .\n",
      "\n",
      "\t EN (TRUE):In In re Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) , the majority engaged in an extensive critique ofFlook , concluding that this Court had erroneously commingled � distinct statutory provisions which are conceptually unrelated . � Id . , at 959 , 201 USPQ at 360 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.2099495715376056\n",
      "=====================================================\n",
      ".....Step  50500\n",
      "Actual: Home ownership , a traditional feature of urban living in Sofia , has become a straw at which impoverished inhabitants clutch . </s> \n",
      "\n",
      "Predicted: They , is the <unk> and of the , , the , the been a great of the the the of <unk> </s> \n",
      "(Train) BLEU (440 elements):  0.3509828097127374\n",
      ".....Step  51000\n",
      "Actual: During the creation of your account on the Page , we will give you the opportunity to opt ##AT##-##AT## out of the receipt of communications . </s> \n",
      "\n",
      "Predicted: After the months of the personal , the website , we will be you the information to be for in and the hotel of the . </s> \n",
      "(Train) BLEU (390 elements):  0.3725898785392305\n",
      "============= Step  51000  =============\n",
      "\t Loss:  0.7745652787387372\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "\t EN (TRUE):Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the world ##AT##-##AT## wide software and is now available in the world , and the new version of the world ##AT##-##AT## wide software is now available in the world , and the new version of the world ##AT##-##AT## wide software . </s> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 20 And the Gods shall be a <unk> , and the b <unk> of the Lord , and the b <unk> of the d <unk> , and the c devil of the d <unk> , and the c devil of the Lord . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): “ <unk> <unk> ” is a new and innovative experience in the world , and the <unk> of the world . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The user is the most important part of the <unk> . </s> \n",
      "\n",
      "DE:  Zitate mit unterschiedlichsten stilistischen Effekten treffen aufeinander : Referenzen auf das narrative Autorenkino ( Hitchcock , Eisenstein , Godard , Brian De Palma ) , poetische oder theoretische Texte ( Tschechow , Duras , Barthes , Žižek , Weibel , Gržinić ) und Verweise auf Massenmedien – B ##AT##-##AT## Filme , TV ##AT##-##AT## Shows , Werbespots , politische Nachrichtensendungen .\n",
      "\n",
      "\t EN (TRUE):Out of all this material , mixed with disnarrative polysemy and an astonishing lack of inhibition , strange “ fictions ” are reconstructed — fragmentary fictions that are constantly interrupted .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> ) , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> \n",
      "\n",
      "DE:  Booking.com : Best Western Hotell SöderH , Söderhamn , Schweden - 29 Gästebewertungen .\n",
      "\n",
      "\t EN (TRUE):Booking.com : Best Western Hotell SöderH , Söderhamn , Sweden - 29 Guest reviews .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Booking .com : <unk> <unk> <unk> , <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This is the only result of the <unk> . </s> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also choose from the <unk> <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Bei den romanischen Völkern paart sich die effektive Ohnmacht mit lächerlicher Anmaßung .\n",
      "\n",
      "\t EN (TRUE):To material weakness the Latin countries add a quite fantastic pretentiousness .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.19383755618829235\n",
      "=====================================================\n",
      ".....Step  51500\n",
      "Actual: <unk> has 24 individually styled and tastefully decorated bedrooms , including three suites , 19 of which are located in the main house . </s> \n",
      "\n",
      "Predicted: Our the a ##AT##-##AT## furnished rooms equipped furnished rooms with with a ##AT##-##AT## . a ##AT##-##AT## the are equipped in the <unk> building . </s> \n",
      "(Train) BLEU (490 elements):  0.35659683590736174\n",
      ".....Step  52000\n",
      "Actual: Despite the name it &apos;s more like a cafe , located on top of Hotel <unk> , Finland &apos;s first high ##AT##-##AT## rise . Excellent views over Helsinki &apos;s downtown . </s> \n",
      "\n",
      "Predicted: The the <unk> of is a than the <unk> , the in the of the <unk> , the , largest place ##AT##-##AT## class <unk> </s> \n",
      "(Train) BLEU (610 elements):  0.3530572837436584\n",
      "============= Step  52000  =============\n",
      "\t Loss:  0.76623652087152\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and comfortable . </s> \n",
      "\n",
      "DE:  Alle unterstützten Barcode Varianten sind in einem einzigen Interface konfigurierbar .\n",
      "\n",
      "\t EN (TRUE):All supported bar code formats are configurable through one single interface .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All of the most popular features are available in the <unk> . </s> \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Located in the heart of the city , this hotel is located in the heart of the city , just a few minutes from the city centre and the main railway station . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a powerful tool for the future . </s> \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small <unk> , which is a small <unk> , which is a small <unk> . </s> \n",
      "\n",
      "DE:  Mitglieder geniessen viele zus � tzliche Leistungen wie optimierter Sicherheit , schnelleren Auszahlungszeiten und der Aufhebung von Kreditkarteneinzahlungslimits .\n",
      "\n",
      "\t EN (TRUE):Members enjoy a range of perks including enhanced security and protection , faster withdrawals and increased credit card deposit limits .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Alle älteren Kinder oder Erwachsene zahlen EUR 32,00 pro Übernachtung und Person für Zustellbetten .\n",
      "\n",
      "\t EN (TRUE):All older children or adults are charged EUR 32.00 per night and person for extra beds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All older children or adults are charged EUR 30 <unk> per night and person for extra beds . </s> \n",
      "\n",
      "DE:  Obwohl das Nazi ##AT##-##AT## Regime die Buddhistische Gemeinde in Berlin , die seit 1936 aktiv gewesen war , schloss und kurzzeitig deren Begründer Martin Steinke 1941 inhaftierte , verfolgte es die Buddhisten nicht generell .\n",
      "\n",
      "\t EN (TRUE):Although the Nazi regime closed the Buddhistische Gemeinde ( Buddhist Society ) in Berlin , which had been active from 1936 , and briefly arrested its founder Martin Steinke in 1941 , they generally did not persecute Buddhists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I was a <unk> <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> , <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "\t EN (TRUE):First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and comfortable . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.19988676105510758\n",
      "=====================================================\n",
      ".....Step  52500\n",
      "Actual: If you &apos;re not up to the task of hunting down computer games from the 1980s though , you &apos;re still in luck . </s> \n",
      "\n",
      "Predicted: If you are looking able to the right , the , , , , the <unk> , you you can not in the . </s> \n",
      "(Train) BLEU (510 elements):  0.362379020680862\n",
      ".....Step  53000\n",
      "Actual: Wired internet is available in the business centre and costs BRL 0 <unk> per minute . </s> \n",
      "\n",
      "Predicted: Wired internet is available in the hotel centre and costs EUR 4 <unk> per hour . </s> \n",
      "(Train) BLEU (500 elements):  0.3727577804616813\n",
      "============= Step  53000  =============\n",
      "\t Loss:  0.7798870548158884\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Je mehr Zeit wir mit Gilad und dem Rest des Teams in Israel verbracht haben ( um nicht den lauten Hahn zu erwähnen der schreiend bei denen über den Campus rennt ) desto überzeugter waren wir – zusammen können wir mehr bewegen .\n",
      "\n",
      "\t EN (TRUE):The more time we spent with Gilad as well as the rest of the team in Israel ( not to mention the very loud rooster that runs around in their campus ) , the more convinced we all became - we ’ ll be better off together .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The first time of the <unk> is the best way to the <unk> , and the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  In dem traditionellen Fischerdorf werden ausländische Gäste sehr herzlich empfangen . Seien Sie allerdings gewarnt vor dem Zustand der Strasse und fahren Sie vorsichtig !\n",
      "\n",
      "\t EN (TRUE):It &apos;s a small traditional fishing village , with friendly locals , always very welcoming to British tourists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to enjoy a drink in the hotel , where you can enjoy a drink in the bar . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Das ist viel einfacher ... Nein , streiten Sie nicht mit mir ... es ist einfacher ... ach , wie auch immer !\n",
      "\n",
      "\t EN (TRUE):This is far more easy ... no , don &apos;t argue with me ... it is easier ... ah whatever !\n",
      "\n",
      "\n",
      "\t EN (Predicted): I don &apos;t know that you can get a lot of <unk> . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The user is the most important and important . </s> \n",
      "\n",
      "DE:  Das „ Ladino di Fassa “ ist jedoch mehr als ein Dialekt – es ist eine richtige Sprache .\n",
      "\n",
      "\t EN (TRUE):This is Ladin from Fassa which is more than a dialect : it is a language in its own right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a very popular way to find the best way to get a lot of fun . </s> \n",
      "\n",
      "DE:  Booking.com : Best Western Hotell SöderH , Söderhamn , Schweden - 29 Gästebewertungen .\n",
      "\n",
      "\t EN (TRUE):Booking.com : Best Western Hotell SöderH , Söderhamn , Sweden - 29 Guest reviews .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Booking .com : <unk> <unk> <unk> , <unk> . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Get the list of the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Tux Racer wird Ihnen helfen , die Zeit totzuschlagen und sie können OpenOffice zum Arbeiten verwenden .\n",
      "\n",
      "\t EN (TRUE):Tux Racer will help you pass the time while you wait , and you can use OpenOffice for work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new version of the best ##AT##-##AT## known software for your mobile phone . </s> \n",
      "\n",
      "DE:  Einst verwunschene Eilande , später Schlupfwinkel von Piraten , welche die goldbeladenen Schiffe der Spanier überfielen , sind diese unwirtlichen Inseln mit dem seltsamen Tierleben heute wohl eines der letzten großen Tierparadiese der Welt .\n",
      "\n",
      "\t EN (TRUE):Apart from its beautiful beaches and unique and varied ecosystems , the Galapagos Islands are home to towering active volcanoes that reach altitudes up to 1,600 meters .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a leading ##AT##-##AT## class portal in the world . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.20784810972246823\n",
      "=====================================================\n",
      ".....Step  53500\n",
      "Actual: 150 new DxO Optics Correction Modules are now available for a variety of cameras . </s> \n",
      "\n",
      "Predicted: 5 <unk> clock <unk> <unk> <unk> <unk> available available in the new of applications . </s> \n",
      "(Train) BLEU (460 elements):  0.34297678958771494\n",
      ".....Step  54000\n",
      "Actual: The <unk> is an association of german ELSA Alumni . </s> \n",
      "\n",
      "Predicted: The <unk> Group a independent of the and . and </s> \n",
      "(Train) BLEU (480 elements):  0.36635373682131106\n",
      "============= Step  54000  =============\n",
      "\t Loss:  0.7700182688832283\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and comfortable . </s> \n",
      "\n",
      "DE:  Man schließt die Gitarre über Mikrofon oder Pickup an die PC Soundkarte an und schon kann es losgehen .\n",
      "\n",
      "\t EN (TRUE):You connect the guitar via microphone or pickup with the PC soundcard and you are ready !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> <unk> , which is not available for the <unk> <unk> . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): “ <unk> <unk> ” is a great idea of the <unk> <unk> , and the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): For the <unk> <unk> , the <unk> <unk> is a new tool for the <unk> . </s> \n",
      "\n",
      "DE:  Das „ Ladino di Fassa “ ist jedoch mehr als ein Dialekt – es ist eine richtige Sprache .\n",
      "\n",
      "\t EN (TRUE):This is Ladin from Fassa which is more than a dialect : it is a language in its own right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a great place to get a lot of fun . </s> \n",
      "\n",
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the <unk> Hotel <unk> <unk> ? </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> the <unk> <unk> . </s> \n",
      "\n",
      "DE:  With a unique location in the heart of Peneda / Gerês National Park , this Pousada has a breathking view over the river Cávado and the peaceful Caniçada dam .\n",
      "\n",
      "\t EN (TRUE):Located in the heart of Peneda ##AT##-##AT## Gerês National Park , this guest house boasts panoramic views of the surrounding mountains and is a welcome retreat for nature enthusiasts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> to the <unk> , and then you can download the <unk> . </s> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a good idea of the city of the city . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18748038062837324\n",
      "=====================================================\n",
      ".....Step  54500\n",
      "Actual: The design creates a small hotel ambience in each building , heightened by many tucked away air conditioned sitting areas , some containing fireplaces for winter comfort . </s> \n",
      "\n",
      "Predicted: This <unk> of a unique and , , the of , the , the <unk> , from and , areas and and of the and the sports . </s> \n",
      "(Train) BLEU (430 elements):  0.3500601504533021\n",
      ".....Step  55000\n",
      "Actual: To generate a license key you will need your i5 serial number and enter it on this Generate a new license key page . </s> \n",
      "\n",
      "Predicted: The get a <unk> for to to need to own and , , then the . the page . <unk> version . . . </s> \n",
      "(Train) BLEU (540 elements):  0.3397482678352218\n",
      "============= Step  55000  =============\n",
      "\t Loss:  0.7583611858189105\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Yea , I say unto you , that they may be a <unk> , and that the b <unk> of the Lord shall be b damned . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The following table is the first ##AT##-##AT## class ##AT##-##AT## use list of the <unk> <unk> , which is the only one of the most important and the most important . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the location was very good . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I use the latest version ? </s> \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the location was very good . </s> \n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a very good place to stay in the hotel . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The &quot; <unk> &quot; is a &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The <unk> &quot; is a new version of the <unk> <unk> , which is the best way to the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , which is a new version of the <unk> <unk> , which is a new version of the <unk> <unk> , which is a new version of the <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.2005753489989741\n",
      "=====================================================\n",
      ".....Step  55500\n",
      "Actual: Generator London - UK &apos;s largest and <unk> hostel - Very central location in Russell Square - Fantastic , friendly staff on hand 24 hours a day - Free continental breakfast available . </s> \n",
      "\n",
      "Predicted: The in is the , <unk> city most <unk> , the close location , the , , <unk> and and and , the . hours . day . the internet breakfast , . </s> \n",
      "(Train) BLEU (500 elements):  0.35250004492264364\n",
      ".....Step  56000\n",
      "Actual: When would you like to stay at the <unk> Hotel ? </s> \n",
      "\n",
      "Predicted: When would you like to stay at the <unk> Hotel ? </s> \n",
      "(Train) BLEU (530 elements):  0.3460127251246937\n",
      "============= Step  56000  =============\n",
      "\t Loss:  0.7636357307732106\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the Skype to use the Skype Credit or the Skype Credit for the Skype Credit . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and comfortable . </s> \n",
      "\n",
      "DE:  Wenn eine Speicherung der Daten auf dem Client erfolgen soll , werden Cookys verwendet .\n",
      "\n",
      "\t EN (TRUE):When client data storage is needed , cookies are used .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the use of the session variables are not stored in the context . </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> <unk> to the <unk> . </s> \n",
      "\n",
      "DE:  Standort war sehr praktisch . In 5 Minuten ist man am Hauptbahnhof , in 10 Minuten im Bankenviertel .\n",
      "\n",
      "\t EN (TRUE):very central only a few minutes walk from Bohr / Ryanair bus stop and main train station.Generally cheap and cheerful .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This is the name of the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The NI LabVIEW SignalExpress software for Windows , and the NI <unk> ##AT##-##AT## <unk> ™ , which is a powerful tool for the NI <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Bamberg , die &quot; Traumstadt der Deutschen &quot; , seine aufgeschlossenen Menschen und seine romantische Umgebung wird auch Sie begeistern , denn sie bietet für jeden etwas .\n",
      "\n",
      "\t EN (TRUE):The beauty and rich cultural life of this town can be enjoyed at any time of year . Soak up the summer sun whilst relaxing at one of the many sidewalk cafés in the historic old town or savour a cool beer beneath a shady chestnut tree in one of the popular beer gardens .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1599300888001837\n",
      "=====================================================\n",
      ".....Step  56500\n",
      "Actual: A unique privately owned hotel offering the ultimate level of comfort and luxury . Staff well ##AT##-##AT## versed in providing only the highest standards . </s> \n",
      "\n",
      "Predicted: The modern hotel hotel hotel , a hotel comfort of a and comfort accommodation </s> \n",
      "(Train) BLEU (480 elements):  0.3442892595409174\n",
      ".....Step  57000\n",
      "Actual: Do you want to have this all for free ? </s> \n",
      "\n",
      "Predicted: You not have to do a problem the your ? </s> \n",
      "(Train) BLEU (460 elements):  0.3482888839458733\n",
      "============= Step  57000  =============\n",
      "\t Loss:  0.7728382396250963\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "\t EN (TRUE):Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the best ##AT##-##AT## known version of the world , and the most important version of the world ##AT##-##AT## wide software is now available for the <unk> <unk> , and the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  1 Nun ließ der Herr , Gott , die Hungersnot im Land Ur so schwer werden , daß a Haran , mein Bruder , starb ; aber b Terach , mein Vater , lebte noch im Land Ur der Chaldäer .\n",
      "\n",
      "\t EN (TRUE):1 Now the Lord God caused the a famine to wax sore in the land of Ur , insomuch that b Haran , my brother , died ; but c Terah , my father , yet lived in the land of Ur , of the Chaldees .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 1 But behold , I say unto you , that ye shall be a ordained unto you , and the b <unk> of the Lord , and the c <unk> of the Lord , and the c devil of God , and the d <unk> of God , and the c devil of God . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and comfortable . </s> \n",
      "\n",
      "DE:  shower was ok but leaked needed updating .\n",
      "\n",
      "\t EN (TRUE):the response to to requests was poor , phone 3 time for milk in the room over 4 hours .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and comfortable . </s> \n",
      "\n",
      "DE:  Zitate mit unterschiedlichsten stilistischen Effekten treffen aufeinander : Referenzen auf das narrative Autorenkino ( Hitchcock , Eisenstein , Godard , Brian De Palma ) , poetische oder theoretische Texte ( Tschechow , Duras , Barthes , Žižek , Weibel , Gržinić ) und Verweise auf Massenmedien – B ##AT##-##AT## Filme , TV ##AT##-##AT## Shows , Werbespots , politische Nachrichtensendungen .\n",
      "\n",
      "\t EN (TRUE):Out of all this material , mixed with disnarrative polysemy and an astonishing lack of inhibition , strange “ fictions ” are reconstructed — fragmentary fictions that are constantly interrupted .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> <unk> : <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Naturreservat auf aufgeschüttetem Gelände am Río de la Plata .\n",
      "\n",
      "\t EN (TRUE):Wide selection of main courses including fresh pasta in homemade sauces ( $ 15 ##AT##-##AT## 30AR ) , traditional chicken dishes incuding Chicken Marsala ( $ 20AR- $ 30AR ) , and a variety of meats including Argentine parilla style steaks ( $ 35AR ) . The menu of seafood is worth considering with rareties such as fresh Yellow ##AT##-##AT## fin Tuna steak in a pesto sauce ( $ 30AR ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a small town of <unk> . </s> \n",
      "\n",
      "DE:  With a unique location in the heart of Peneda / Gerês National Park , this Pousada has a breathking view over the river Cávado and the peaceful Caniçada dam .\n",
      "\n",
      "\t EN (TRUE):Located in the heart of Peneda ##AT##-##AT## Gerês National Park , this guest house boasts panoramic views of the surrounding mountains and is a welcome retreat for nature enthusiasts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Bei einer digitalen Bildkette wird das Intensitätssignal für jedes Pixel ohne analoge Zwischenschritte direkt in der Detektoreinheit digitalisiert , d.h. in Zahlen umgewandelt .\n",
      "\n",
      "\t EN (TRUE):A digital image chain is an image chain that is equipped with a digital detector instead of an analogue one .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Test) BLEU (100 elements):  0.20293715586920108\n",
      "=====================================================\n",
      ".....Step  57500\n",
      "Actual: Besides that , you &apos;ll find in the data base the original data of my dissertation on cross ##AT##-##AT## cultural advertising that I have gained within my research . </s> \n",
      "\n",
      "Predicted: The the the you can find the the world of , <unk> language of the life . the ##AT##-##AT## country and . is would to . the life . </s> \n",
      "(Train) BLEU (460 elements):  0.3526010599025431\n",
      ".....Step  58000\n",
      "Actual: The Westin Grand Frankfurt is ideal for business or leisure travellers . </s> \n",
      "\n",
      "Predicted: The hotel Hotel Hotel is a for business and pleasure travellers . </s> \n",
      "(Train) BLEU (580 elements):  0.35432245602176793\n",
      "============= Step  58000  =============\n",
      "\t Loss:  0.7677534787356853\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 20 But behold , they shall be a ordained unto the people of the Holy Ghost , and the b <unk> of the Lord , and the d <unk> of the Lord , and the d <unk> of God , and the d <unk> of God . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  Genießen Sie hier in gemütlicher Atmosphäre ein kühles Kölsch oder einen erfrischenden Cocktail .\n",
      "\n",
      "\t EN (TRUE):Enjoy a local beer or refreshing cocktail in a cosy atmosphere .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can enjoy a drink in the bar or a terrace . </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the Best Western Premier Hotel <unk> ? </s> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The &quot; <unk> &quot; is a &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The NI LabVIEW Real ##AT##-##AT## Time Module is a powerful tool for the NI <unk> ##AT##-##AT## <unk> , and the NI <unk> ##AT##-##AT## <unk> is a high ##AT##-##AT## performance tool for the NI <unk> . </s> \n",
      "\n",
      "DE:  Die Musikant entspricht dem Folkrock . Dennoch finden sich in den Liedern viele musikalische Elemente aus klassisch- folklorischer Liedern aus Anatolien bis zum Mittelmeer , aus Latein- amerikanischen Märschen bis hin zu klassischen Rockklängen .\n",
      "\n",
      "\t EN (TRUE):Yorum continues to sing hopeful songs in the name of all the world &apos;s revolutionary music .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.20919698289953725\n",
      "=====================================================\n",
      ".....Step  58500\n",
      "Actual: In SGML , the first definition of an entity wins . </s> \n",
      "\n",
      "Predicted: The the , the <unk> <unk> of the <unk> was was </s> \n",
      "(Train) BLEU (490 elements):  0.3649563432884733\n",
      ".....Step  59000\n",
      "Actual: Joining him as his first officer was Worf and Jadzia Dax as Science Officer . Both were serving on detached duty from Starfleet at the time . </s> \n",
      "\n",
      "Predicted: The of , a <unk> officer , a , the Dax , the , , </s> \n",
      "(Train) BLEU (510 elements):  0.36046623228495384\n",
      "============= Step  59000  =============\n",
      "\t Loss:  0.7726990941762925\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Zum klimatisierten Hotel gehören auch ein Whirpool und eine traumhafte Sonnenterrasse .\n",
      "\n",
      "\t EN (TRUE):Apart from this , the guests can enjoy the facility of an independent air ##AT##-##AT## conditioning system , a jacuzzi and a beautiful sun terrace .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a great place for business and leisure . </s> \n",
      "\n",
      "DE:  Das Hotel Opera befindet sich in der Nähe des Royal Theatre , Kongens Nytorv , &apos; Stroget &apos; und Nyhavn .\n",
      "\n",
      "\t EN (TRUE):Hotel Opera is situated near The Royal Theatre , Kongens Nytorv , &quot; Strøget &quot; and fascinating Nyhavn .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city , just a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  Niedrigere Preise durch mehr Wettbewerb . Die Kosten für Kapital können durch Währungsstabilität , niedrigere Zinssätze und eine bessere Organisation der Kapitalmärkte gesenkt werden .\n",
      "\n",
      "\t EN (TRUE):In a knowledge ##AT##-##AT## based society the opportunity of education is the key to progress and equality and sustainability .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place for the <unk> and the <unk> of the <unk> , and the <unk> <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The user is a powerful tool for the user . </s> \n",
      "\n",
      "DE:  Das „ Ladino di Fassa “ ist jedoch mehr als ein Dialekt – es ist eine richtige Sprache .\n",
      "\n",
      "\t EN (TRUE):This is Ladin from Fassa which is more than a dialect : it is a language in its own right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to be able to find the best way to get a lot of fun . </s> \n",
      "\n",
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the <unk> Hotel &amp; Spa ? </s> \n",
      "\n",
      "DE:  Mitglieder geniessen viele zus � tzliche Leistungen wie optimierter Sicherheit , schnelleren Auszahlungszeiten und der Aufhebung von Kreditkarteneinzahlungslimits .\n",
      "\n",
      "\t EN (TRUE):Members enjoy a range of perks including enhanced security and protection , faster withdrawals and increased credit card deposit limits .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new tool for the <unk> <unk> , the <unk> <unk> , and the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The &quot; <unk> &quot; is a &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> to the Mandriva Linux website , and the <unk> is not available . </s> \n",
      "\n",
      "DE:  Bei den romanischen Völkern paart sich die effektive Ohnmacht mit lächerlicher Anmaßung .\n",
      "\n",
      "\t EN (TRUE):To material weakness the Latin countries add a quite fantastic pretentiousness .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.2101707470443954\n",
      "=====================================================\n",
      ".....Step  59500\n",
      "Actual: Temperatures can reach up to 1 <unk> ° C – significantly higher values than with parabolic trough collectors . </s> \n",
      "\n",
      "Predicted: The to be the to the <unk> <unk> C . <unk> the than for the the ##AT##-##AT## <unk> . </s> \n",
      "(Train) BLEU (380 elements):  0.35387560865908974\n",
      ".....Step  60000\n",
      "Actual: Note : If the number of the year is specified in a two digit format , the values between 00 ##AT##-##AT## 69 are mapped to 2000 ##AT##-##AT## <unk> and 70 ##AT##-##AT## 99 to 1970 ##AT##-##AT## 1999 . </s> \n",
      "\n",
      "Predicted: Note : If you <unk> of the first , the by the single ##AT##-##AT## ##AT##-##AT## , the <unk> of the and <unk> , displayed to the , <unk> , the % <unk> . the . <unk> . </s> \n",
      "(Train) BLEU (510 elements):  0.3453330815750189\n",
      "============= Step  60000  =============\n",
      "\t Loss:  0.7537876551449298\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  &#124; Ferienwohnungen 1 Zi &#124; Ferienhäuser &#124; Landhäuser &#124; Autovermietung &#124; Last Minute Angebote ! !\n",
      "\n",
      "\t EN (TRUE):&#124; 1 Bedroom Apts &#124; Holiday houses &#124; Rural Homes &#124; Car Rental &#124; Last Minute Offers !\n",
      "\n",
      "\n",
      "\t EN (Predicted): Apartments &#124; Hotels &#124; Hostels &#124; Hotels &#124; Hostels &#124; Last Minute Offers &#124; Last Minute Offers ! </s> \n",
      "\n",
      "DE:  Alle unterstützten Barcode Varianten sind in einem einzigen Interface konfigurierbar .\n",
      "\n",
      "\t EN (TRUE):All supported bar code formats are configurable through one single interface .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All of the most important software are available in the <unk> . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Our apartments are situated in the <unk> <unk> , in the south of the island of <unk> , in the south of Spain . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I have a look like to download ? </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Standort war sehr praktisch . In 5 Minuten ist man am Hauptbahnhof , in 10 Minuten im Bankenviertel .\n",
      "\n",
      "\t EN (TRUE):very central only a few minutes walk from Bohr / Ryanair bus stop and main train station.Generally cheap and cheerful .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and helpful . </s> \n",
      "\n",
      "DE:  Auch ist , so denkt Dr. Gutherz , bereits die erste Seite sehr viel versprechend , da sie eine Definition des klinischen Psychotrauma ##AT##-##AT## Begriffes enthält , der er gänzlich zustimmen kann .\n",
      "\n",
      "\t EN (TRUE):At the rhetorical climax of this summary , Dr Goodheart comes across some sentences expressed with great pathos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I was able to be able to be able to be able to be able to be able to be able to be able to be able to be a problem . </s> \n",
      "\n",
      "DE:  Das Athens Gate Hotel liegt unterhalb der Akropolis nur 100 m vom neuen Akropolis ##AT##-##AT## Museum entfernt .\n",
      "\n",
      "\t EN (TRUE):The Athens Gate Hotel rests under the Acropolis , just 100 metres from the new Acropolis museum .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is situated in the centre of the city centre , only a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a lot of fun and fun . </s> \n",
      "\n",
      "DE:  in dieser Option ermöglicht , Dateien relativ zum aktuellen Verzeichnis einzubinden .\n",
      "\n",
      "\t EN (TRUE):in the include path allows for relative includes as it means the current directory . However , it is more efficient to explicitly use include &apos; . / file &apos; than having PHP always check the current directory for every include .\n",
      "\n",
      "\n",
      "\t EN (Predicted): ) , the only need to be used to be used . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1831440550768741\n",
      "=====================================================\n",
      ".....Step  60500\n",
      "Actual: How do fonts fit into this ? </s> \n",
      "\n",
      "Predicted: What do I , to the ? </s> \n",
      "(Train) BLEU (590 elements):  0.3581360382342403\n",
      ".....Step  61000\n",
      "Actual: 3 And this is the manner after which they were ordained — being a called and b prepared from the c foundation of the world according to the d <unk> of God , on account of their exceeding faith and good works ; in the first place being left to e choose good or evil ; therefore they having chosen \n",
      "\n",
      "Predicted: 2 And the is a a of the the shall a by yea a <unk> <unk> the <unk> to the earth , of the Lord , to the earth <unk> , the , and the , the wickedness , , abominations , in and the c time of of to the <unk> from , unto . and , are a \n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Train) BLEU (410 elements):  0.3463845656302781\n",
      "============= Step  61000  =============\n",
      "\t Loss:  0.7663813170790672\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 25 Behold , I say unto you , that they may be a <unk> , and that ye may be a <unk> . </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the internet connection to the internet , but we can use the Skype Credit for the Skype Credit . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All apartments in the <unk> Hotel , in the centre of the <unk> , the <unk> Hotel <unk> is a great place for the discerning traveller . </s> \n",
      "\n",
      "DE:  Wenn eine Speicherung der Daten auf dem Client erfolgen soll , werden Cookys verwendet .\n",
      "\n",
      "\t EN (TRUE):When client data storage is needed , cookies are used .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the use of the use of the use of the data is not available . </s> \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Wünschen Sie Unterstützung bei der der Zentrensuche ?\n",
      "\n",
      "\t EN (TRUE):Would you like being assisted in searching a specialised centre ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the latest version of the world . </s> \n",
      "\n",
      "DE:  Tux Racer wird Ihnen helfen , die Zeit totzuschlagen und sie können OpenOffice zum Arbeiten verwenden .\n",
      "\n",
      "\t EN (TRUE):Tux Racer will help you pass the time while you wait , and you can use OpenOffice for work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new tool for your application , and you can also find the best possible . </s> \n",
      "\n",
      "DE:  Bei einer digitalen Bildkette wird das Intensitätssignal für jedes Pixel ohne analoge Zwischenschritte direkt in der Detektoreinheit digitalisiert , d.h. in Zahlen umgewandelt .\n",
      "\n",
      "\t EN (TRUE):A digital image chain is an image chain that is equipped with a digital detector instead of an analogue one .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "\t EN (TRUE):First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.21011884863655403\n",
      "=====================================================\n",
      ".....Step  61500\n",
      "Actual: 32 a Wo be unto the Gentiles , saith the Lord God of Hosts ! </s> \n",
      "\n",
      "Predicted: 32 Yea <unk> unto a the people , and the Lord , . God . </s> \n",
      "(Train) BLEU (530 elements):  0.3587657412356256\n",
      ".....Step  62000\n",
      "Actual: Combined with the aforementioned cost ##AT##-##AT## savings , this would represent a significant competitive advantage over the increasingly patent ##AT##-##AT## plagued USA . </s> \n",
      "\n",
      "Predicted: In of the <unk> of of made and the is be the new contribution way of the world countries and making . . </s> \n",
      "(Train) BLEU (360 elements):  0.33553601287259016\n",
      "============= Step  62000  =============\n",
      "\t Loss:  0.7571106279939414\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  &#124; Ferienwohnungen 1 Zi &#124; Ferienhäuser &#124; Landhäuser &#124; Autovermietung &#124; Last Minute Angebote ! !\n",
      "\n",
      "\t EN (TRUE):&#124; 1 Bedroom Apts &#124; Holiday houses &#124; Rural Homes &#124; Car Rental &#124; Last Minute Offers !\n",
      "\n",
      "\n",
      "\t EN (Predicted): Apartments &#124; Hotels &#124; Hostels &#124; Hotels &#124; Hostels &#124; Last Minute Offers ! </s> \n",
      "\n",
      "DE:  In dem traditionellen Fischerdorf werden ausländische Gäste sehr herzlich empfangen . Seien Sie allerdings gewarnt vor dem Zustand der Strasse und fahren Sie vorsichtig !\n",
      "\n",
      "\t EN (TRUE):It &apos;s a small traditional fishing village , with friendly locals , always very welcoming to British tourists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to enjoy a wide range of activities , including the <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Residenz City Lodge befindet sich am mandelförmigen Sweelinckplein im Herzen des schicken Duinoord ##AT##-##AT## Viertels in Den Haag .\n",
      "\n",
      "\t EN (TRUE):In the midst of the bustling city life , an oasis of peace and luxury can be found bordering the beautiful Haagsche Park , across from the main train station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the use of the use of the <unk> is not permitted . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , which is the best way to get the best possible to the <unk> . </s> \n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; <unk> &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  in dieser Option ermöglicht , Dateien relativ zum aktuellen Verzeichnis einzubinden .\n",
      "\n",
      "\t EN (TRUE):in the include path allows for relative includes as it means the current directory . However , it is more efficient to explicitly use include &apos; . / file &apos; than having PHP always check the current directory for every include .\n",
      "\n",
      "\n",
      "\t EN (Predicted): the <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , etc . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.190280596750789\n",
      "=====================================================\n",
      ".....Step  62500\n",
      "Actual: - The set work “ Ave Maria ” by Francesco Paolo <unk> , must be sung in the original tonality and must be performed at the beginning of the program . </s> \n",
      "\n",
      "Predicted: - <unk> <unk> of of <unk> <unk> ” is the <unk> is is the be found in the <unk> part of <unk> be found by the end of the 20th . </s> \n",
      "(Train) BLEU (410 elements):  0.35287361338924084\n",
      ".....Step  63000\n",
      "Actual: The light and spacious hotel creates a perfect environment for you to relax and enjoy your holiday in the Andalusian sun . </s> \n",
      "\n",
      "Predicted: The hotel of modern rooms is a modern location for a to relax in enjoy a stay in the heart atmosphere , </s> \n",
      "(Train) BLEU (350 elements):  0.356370237895653\n",
      "============= Step  63000  =============\n",
      "\t Loss:  0.7634122729301452\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Je mehr Zeit wir mit Gilad und dem Rest des Teams in Israel verbracht haben ( um nicht den lauten Hahn zu erwähnen der schreiend bei denen über den Campus rennt ) desto überzeugter waren wir – zusammen können wir mehr bewegen .\n",
      "\n",
      "\t EN (TRUE):The more time we spent with Gilad as well as the rest of the team in Israel ( not to mention the very loud rooster that runs around in their campus ) , the more convinced we all became - we ’ ll be better off together .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a member of the <unk> <unk> , which is the first ##AT##-##AT## class ##AT##-##AT## show ##AT##-##AT## known <unk> , which is the first ##AT##-##AT## class ##AT##-##AT## style , and the <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 20 But behold , they shall not be a ordained unto the people of the church , and the Lord of Hosts , and the Lord of Hosts , and the Lord of Hosts , and the Lord of Hosts , and the Lord of Hosts . </s> \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Located in the heart of the city , just a few minutes from the city centre , the hotel is a 5 ##AT##-##AT## minute walk from the city centre and the city centre . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> <unk> to the <unk> . </s> \n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n",
      "DE:  Tux Racer wird Ihnen helfen , die Zeit totzuschlagen und sie können OpenOffice zum Arbeiten verwenden .\n",
      "\n",
      "\t EN (TRUE):Tux Racer will help you pass the time while you wait , and you can use OpenOffice for work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new version of the <unk> <unk> , which is the best way to make your own needs . </s> \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> to the other , but if you want to use the same file ? </s> \n",
      "\n",
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "\t EN (TRUE):First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very friendly and helpful . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Test) BLEU (100 elements):  0.19414092227194335\n",
      "=====================================================\n",
      ".....Step  63500\n",
      "Actual: header ( ) is used to send a raw HTTP header . </s> \n",
      "\n",
      "Predicted: <unk> ( ) is a by be the session ##AT##-##AT## ( ( </s> \n",
      "(Train) BLEU (520 elements):  0.370502514129896\n",
      ".....Step  64000\n",
      "Actual: This complex offers one and two bedroom apartments , which have all been renovated in 2007 and are comfortable , spacious and have telephone , satellite television . </s> \n",
      "\n",
      "Predicted: The hotel is a of two bedroom apartments , with is a the equipped in a , has equipped and equipped and comfortable a . and TV and </s> \n",
      "(Train) BLEU (600 elements):  0.35048382982241627\n",
      "============= Step  64000  =============\n",
      "\t Loss:  0.7639928057342767\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Der nordwestliche Teil der Insel besteht aus Granit und Gneis , von Ton überlagert , und bildet eine ca.\n",
      "\n",
      "\t EN (TRUE):A battle between Denmark and Sweden in 1645 led to Swedish control of the island , but it was brief - they left again the same year . In the Roskildepeace of 1658 Bornholm , Skaane , Halland and Blekinge were given to Sweden .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small and small town of the city , with a large number of <unk> and <unk> . </s> \n",
      "\n",
      "DE:  1 Nun ließ der Herr , Gott , die Hungersnot im Land Ur so schwer werden , daß a Haran , mein Bruder , starb ; aber b Terach , mein Vater , lebte noch im Land Ur der Chaldäer .\n",
      "\n",
      "\t EN (TRUE):1 Now the Lord God caused the a famine to wax sore in the land of Ur , insomuch that b Haran , my brother , died ; but c Terah , my father , yet lived in the land of Ur , of the Chaldees .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 1 Behold , I am a <unk> , and the Lord , and the Lord , and the Lord , and the Lord of God , and the Lord , and the Lord of God , and the Lord of God , and the Lord of God , and the Lord of God . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Our apartments are situated in the centre of the city , in the centre of the city , in the centre of the city . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the use of the <unk> is not available . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , which is the best ##AT##-##AT## known ##AT##-##AT## known ##AT##-##AT## known <unk> and <unk> <unk> . </s> \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Wünschen Sie Unterstützung bei der der Zentrensuche ?\n",
      "\n",
      "\t EN (TRUE):Would you like being assisted in searching a specialised centre ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can find the best ##AT##-##AT## in ##AT##-##AT## form ##AT##-##AT## in ##AT##-##AT## the ##AT##-##AT## art update . </s> \n",
      "\n",
      "DE:  Tux Racer wird Ihnen helfen , die Zeit totzuschlagen und sie können OpenOffice zum Arbeiten verwenden .\n",
      "\n",
      "\t EN (TRUE):Tux Racer will help you pass the time while you wait , and you can use OpenOffice for work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a great way to get a lot of fun and fun . </s> \n",
      "\n",
      "DE:  Zimmerbeschreibung : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\t EN (TRUE):Room Notes : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Room Notes : The <unk> Hotel in <unk> is situated in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18343165714504986\n",
      "=====================================================\n",
      ".....Step  64500\n",
      "Actual: Transport mode - Set your transportation type . Either passenger car , pedestrian or taxi . </s> \n",
      "\n",
      "Predicted: You , is <unk> a phone or , </s> \n",
      "(Train) BLEU (400 elements):  0.3398411045632805\n",
      ".....Step  65000\n",
      "Actual: Sarah informed Sisko that his task was complete and that he must rest . Nevertheless , Sisko promised <unk> - pregnant with his child - that he would return . </s> \n",
      "\n",
      "Predicted: This , that the the father was a with the the was have . </s> \n",
      "(Train) BLEU (460 elements):  0.36168715209526087\n",
      "============= Step  65000  =============\n",
      "\t Loss:  0.7635544370412827\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The following table is the only result of the <unk> <unk> , which is the only result of the <unk> file ( ) . </s> \n",
      "\n",
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "\t EN (TRUE):As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a very good way to get a lot of <unk> , but it is a good idea to get a lot of water . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  shower was ok but leaked needed updating .\n",
      "\n",
      "\t EN (TRUE):the response to to requests was poor , phone 3 time for milk in the room over 4 hours .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very comfortable and the room was very comfortable . </s> \n",
      "\n",
      "DE:  Da jedes SCXI ##AT##-##AT## Modul die Signale auf einen einzigen Kanal des Datenerfassungsmoduls multiplext , lassen sich problemlos weitere Module hinzufügen , was für eine höhere Kanalanzahl sorgt .\n",
      "\n",
      "\t EN (TRUE):It can multiplex its signals into a single channel of the DAQ device , and you can add modules to increase channel count .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a powerful tool for Windows 2000 , and is a new version of the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Booking.com : Best Western Hotell SöderH , Söderhamn , Schweden - 29 Gästebewertungen .\n",
      "\n",
      "\t EN (TRUE):Booking.com : Best Western Hotell SöderH , Söderhamn , Sweden - 29 Guest reviews .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Booking .com : hotel <unk> <unk> <unk> , <unk> <unk> . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Get the list of the list of the list . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged USD 30 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Zimmerbeschreibung : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\t EN (TRUE):Room Notes : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Room Notes : This modern hotel in the <unk> <unk> Hotel in the centre of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a good idea to get a little bit . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1844387462199396\n",
      "=====================================================\n",
      ".....Step  65500\n",
      "Actual: We offer you a great choice of apartments , hotels and B &amp; B in the German capital . </s> \n",
      "\n",
      "Predicted: We offer you a wide choice for facilities , including , apartments . B . the city capital . </s> \n",
      "(Train) BLEU (450 elements):  0.34023345073400557\n",
      ".....Step  66000\n",
      "Actual: In this establishment , you can eat a typical <unk> breakfast , or have a great paella , grilled fish , fried dishes , combined plates , and salads for all types of tastes . </s> \n",
      "\n",
      "Predicted: The the case , you can enjoy yourself drink wine or or or a a drink view , a , , grilled , , fish with , and a . a tastes of tastes . </s> \n",
      "(Train) BLEU (470 elements):  0.34837012165451314\n",
      "============= Step  66000  =============\n",
      "\t Loss:  0.7653811163008213\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Der nordwestliche Teil der Insel besteht aus Granit und Gneis , von Ton überlagert , und bildet eine ca.\n",
      "\n",
      "\t EN (TRUE):A battle between Denmark and Sweden in 1645 led to Swedish control of the island , but it was brief - they left again the same year . In the Roskildepeace of 1658 Bornholm , Skaane , Halland and Blekinge were given to Sweden .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The following table is the only result of the <unk> <unk> , which is the only result of the <unk> <unk> ( ) . </s> \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city , just a few minutes from the beach , just a few minutes from the city centre and the city centre . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I have a look at the same ? </s> \n",
      "\n",
      "DE:  Zitate mit unterschiedlichsten stilistischen Effekten treffen aufeinander : Referenzen auf das narrative Autorenkino ( Hitchcock , Eisenstein , Godard , Brian De Palma ) , poetische oder theoretische Texte ( Tschechow , Duras , Barthes , Žižek , Weibel , Gržinić ) und Verweise auf Massenmedien – B ##AT##-##AT## Filme , TV ##AT##-##AT## Shows , Werbespots , politische Nachrichtensendungen .\n",
      "\n",
      "\t EN (TRUE):Out of all this material , mixed with disnarrative polysemy and an astonishing lack of inhibition , strange “ fictions ” are reconstructed — fragmentary fictions that are constantly interrupted .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a very convenient place to stay in the hotel . </s> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to find the best way to get a trip to the city , and the city centre is the ideal place for the <unk> . </s> \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the following version of the <unk> , and then you can download the latest version of the world . </s> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Test) BLEU (100 elements):  0.1865936194334185\n",
      "=====================================================\n",
      ".....Step  66500\n",
      "Actual: thanks to the 3 ##AT##-##AT## phase system . Space in network racks is getting tighter on a daily basis . </s> \n",
      "\n",
      "Predicted: <unk> to the <unk> <unk> dimensional <unk> , </s> \n",
      "(Train) BLEU (540 elements):  0.3543192650834787\n",
      ".....Step  67000\n",
      "Actual: &#91; . . . &#93; On balance , the neoliberal change in labour ##AT##-##AT## market , industrial and regional policy reinforced the spatial inequalities extant in Britain , forcing them in the direction of social , economic and political divergences . In this sense , post ##AT##-##AT## Fordist state regulation of the neo ##AT##-##AT## <unk> kind is not only instrumental \n",
      "\n",
      "Predicted: The 1 . . </s> \n",
      "(Train) BLEU (490 elements):  0.34681542540420723\n",
      "============= Step  67000  =============\n",
      "\t Loss:  0.7606602465510368\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 30 Yea , I say unto you , that they may be a <unk> , and the b <unk> of the Lord God . </s> \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The following table is the first ##AT##-##AT## class version of the <unk> <unk> , which is the only result of the <unk> <unk> ( ) . </s> \n",
      "\n",
      "DE:  Das ist viel einfacher ... Nein , streiten Sie nicht mit mir ... es ist einfacher ... ach , wie auch immer !\n",
      "\n",
      "\t EN (TRUE):This is far more easy ... no , don &apos;t argue with me ... it is easier ... ah whatever !\n",
      "\n",
      "\n",
      "\t EN (Predicted): I am <unk> , <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartments in Conil de la Frontera is a small town of Tarifa . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , which is the best ##AT##-##AT## known ##AT##-##AT## known <unk> and <unk> <unk> . </s> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Zusätzlich enthält TBarCode / SAPwin eine Menge neuer Strichcode ##AT##-##AT## Symbologien .\n",
      "\n",
      "\t EN (TRUE):In addition TBarCode / SAPwin comes with a bunch of new bar code symbologies .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can download the latest version of the <unk> . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): This is a string , which is the only result . </s> \n",
      "\n",
      "DE:  Im Fall Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) beteiligte sich die Mehrheit an einer umfangreichen Kritik an Flook und entschied , dass dieses Gericht irrt � mlicherweise � verschiedene gesetzliche Vorkehrungen , die begrifflich ohne Zusammenhang seien � , vermischt h � tte . Id . , unter 959 , 201 USPQ at 360 .\n",
      "\n",
      "\t EN (TRUE):In In re Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) , the majority engaged in an extensive critique ofFlook , concluding that this Court had erroneously commingled � distinct statutory provisions which are conceptually unrelated . � Id . , at 959 , 201 USPQ at 360 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "\t EN (TRUE):First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18221601495098613\n",
      "=====================================================\n",
      ".....Step  67500\n",
      "Actual: Only 5 minutes ’ walk from Saint Mark ’ s Square , Hotel Bel <unk> &amp; <unk> enjoys an ideal location in Venice ’ s historic centre , opposite Santa Maria del Giglio church . </s> \n",
      "\n",
      "Predicted: Located a minutes from walk from the Mark , s city , this <unk> Park offers Spa offers a excellent location for the ’ s most centre . just the Maria Novella <unk> . . </s> \n",
      "(Train) BLEU (460 elements):  0.3681352076198996\n",
      ".....Step  68000\n",
      "Actual: A cosy spa area with 3 different saunas in Tyrolean style completes the offer . </s> \n",
      "\n",
      "Predicted: A beautiful and area is a <unk> swimming , the dining , the <unk> . </s> \n",
      "(Train) BLEU (620 elements):  0.35206159261840764\n",
      "============= Step  68000  =============\n",
      "\t Loss:  0.7736295367181301\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 30 Yea , I say unto you , that they may be a <unk> , and the b <unk> of the Lord . </s> \n",
      "\n",
      "DE:  Alle unterstützten Barcode Varianten sind in einem einzigen Interface konfigurierbar .\n",
      "\n",
      "\t EN (TRUE):All supported bar code formats are configurable through one single interface .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All of the most important software are available in the <unk> . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The <unk> &quot; is the &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  Länge : 11,28m ; Breite : 3,66m ; Tiefgang : 0,30m ; Bj.2006 ; Liegeplatz : River Dart , Großbritannien ; 2 Motor ( en ) ; Volvo D4 260hp ; Description : The Bavaria Sport is a really impressive boat ...\n",
      "\n",
      "\t EN (TRUE):Length : 11.40m ( ~ 37.40 ft ) ; Beam : 3.68m ; Draft : 0.90m ; built 2005 ; Location : Orsera Nautika / Kroatien ##AT##-##AT## Vrsar , Croatia ( Hrvatska ) ; 2 Engine / manufac . ; Volvo Penta 5,7 GXI ; 478kW ; 430 Engine Hours ; Weight : 6.800kg ; Neues Raymarine C70 , verlängerte Badeplattform mit Staufächern , Kühlschr ...\n",
      "\n",
      "\n",
      "\t EN (Predicted): : 1 : <unk> <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very comfortable and the room was very clean . </s> \n",
      "\n",
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the Best Western <unk> Hotel <unk> ? </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Alle älteren Kinder oder Erwachsene zahlen EUR 32,00 pro Übernachtung und Person für Zustellbetten .\n",
      "\n",
      "\t EN (TRUE):All older children or adults are charged EUR 32.00 per night and person for extra beds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All older children or adults are charged EUR 15 <unk> per night and person for extra beds . </s> \n",
      "\n",
      "DE:  Bei einer digitalen Bildkette wird das Intensitätssignal für jedes Pixel ohne analoge Zwischenschritte direkt in der Detektoreinheit digitalisiert , d.h. in Zahlen umgewandelt .\n",
      "\n",
      "\t EN (TRUE):A digital image chain is an image chain that is equipped with a digital detector instead of an analogue one .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1864598610064483\n",
      "=====================================================\n",
      ".....Step  68500\n",
      "Actual: Keller talked of the need to seek more peaceful means of conflict resolution and &quot; emphasized that peace ##AT##-##AT## building is not a spectator sport , &quot; <unk> says . </s> \n",
      "\n",
      "Predicted: <unk> , to the <unk> of be to than and of the , , the <unk> &quot; the &quot; hearted . the a problem of . and <unk> &quot; , </s> \n",
      "(Train) BLEU (530 elements):  0.3519939790853027\n",
      ".....Step  69000\n",
      "Actual: All errors set in this fashion may be translated . </s> \n",
      "\n",
      "Predicted: All the are out the file will be used . </s> \n",
      "(Train) BLEU (460 elements):  0.3524635331055489\n",
      "============= Step  69000  =============\n",
      "\t Loss:  0.7586236295700073\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  &#124; Ferienwohnungen 1 Zi &#124; Ferienhäuser &#124; Landhäuser &#124; Autovermietung &#124; Last Minute Angebote ! !\n",
      "\n",
      "\t EN (TRUE):&#124; 1 Bedroom Apts &#124; Holiday houses &#124; Rural Homes &#124; Car Rental &#124; Last Minute Offers !\n",
      "\n",
      "\n",
      "\t EN (Predicted): Apartments &#124; Hotels &#124; Hostels &#124; Hotels &#124; Hostels &#124; Things to do &#124; Last Minute Offers ! </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the software for the purpose of the Site , but it is not possible to use the software of the software . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): “ <unk> <unk> ” is a new and new experience in the world . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartments in Conil de la Frontera , Spain , Spain . </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can download the file to the server . </s> \n",
      "\n",
      "DE:  Standort war sehr praktisch . In 5 Minuten ist man am Hauptbahnhof , in 10 Minuten im Bankenviertel .\n",
      "\n",
      "\t EN (TRUE):very central only a few minutes walk from Bohr / Ryanair bus stop and main train station.Generally cheap and cheerful .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very comfortable and the room was very comfortable . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged USD 30 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The NI LabVIEW Real ##AT##-##AT## Time Module is a powerful tool for the NI <unk> ##AT##-##AT## <unk> ™ , and the NI <unk> ##AT##-##AT## <unk> is a high ##AT##-##AT## performance solution . </s> \n",
      "\n",
      "DE:  Die Musikant entspricht dem Folkrock . Dennoch finden sich in den Liedern viele musikalische Elemente aus klassisch- folklorischer Liedern aus Anatolien bis zum Mittelmeer , aus Latein- amerikanischen Märschen bis hin zu klassischen Rockklängen .\n",
      "\n",
      "\t EN (TRUE):Yorum continues to sing hopeful songs in the name of all the world &apos;s revolutionary music .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.2106203240657203\n",
      "=====================================================\n",
      ".....Step  69500\n",
      "Actual: <unk> around sacred places , and continuity to pay homage to sacred dates , project the nation into geography and history , as clearly seen by watching the names of metro stations and squares in a country referring to itself as la grande nation . </s> \n",
      "\n",
      "Predicted: The , the and to the the of the the to the and to the , <unk> &apos;s the , the of the well as in the the <unk> of the , . the . the country . to the . the <unk> . . </s> \n",
      "(Train) BLEU (380 elements):  0.33050349926432465\n",
      ".....Step  70000\n",
      "Actual: We have some banners that you can use . </s> \n",
      "\n",
      "Predicted: We are a of and are have find the </s> \n",
      "(Train) BLEU (610 elements):  0.36058790916328376\n",
      "============= Step  70000  =============\n",
      "\t Loss:  0.7557708247452974\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Der nordwestliche Teil der Insel besteht aus Granit und Gneis , von Ton überlagert , und bildet eine ca.\n",
      "\n",
      "\t EN (TRUE):A battle between Denmark and Sweden in 1645 led to Swedish control of the island , but it was brief - they left again the same year . In the Roskildepeace of 1658 Bornholm , Skaane , Halland and Blekinge were given to Sweden .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small and medium ##AT##-##AT## sized ##AT##-##AT## sized holiday in the city . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a small hotel located in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Residenz City Lodge befindet sich am mandelförmigen Sweelinckplein im Herzen des schicken Duinoord ##AT##-##AT## Viertels in Den Haag .\n",
      "\n",
      "\t EN (TRUE):In the midst of the bustling city life , an oasis of peace and luxury can be found bordering the beautiful Haagsche Park , across from the main train station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The user is the most important software of the software . </s> \n",
      "\n",
      "DE:  bietet ihnen die Möglichkeit , alte ABAP ##AT##-##AT## Reports mit samt ihrer betriebswirtschaftlichen Intelligenz trotz des Umstiegs auf die MS ##AT##-##AT## Umgebung weiter zu nutzen .\n",
      "\n",
      "\t EN (TRUE):Uses the BW extractor API to extract data from productive R / 3 systems by using delta mechanisms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): is the first time to the <unk> <unk> , the <unk> <unk> , and the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Nachfolgend sehen Sie die Gästebewertungen von Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\t EN (TRUE):The guest reviews are submitted by our customers after their stay at Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The guest reviews are submitted by our customers after their stay at <unk> <unk> Hotel . </s> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a bit more than a few minutes . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The &quot; <unk> &quot; is a &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  Bei einer digitalen Bildkette wird das Intensitätssignal für jedes Pixel ohne analoge Zwischenschritte direkt in der Detektoreinheit digitalisiert , d.h. in Zahlen umgewandelt .\n",
      "\n",
      "\t EN (TRUE):A digital image chain is an image chain that is equipped with a digital detector instead of an analogue one .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a good idea to get a car to the airport . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1992630338711425\n",
      "=====================================================\n",
      ".....Step  70500\n",
      "Actual: Just amazing place , good for any kind of trip , especially for romantic one . </s> \n",
      "\n",
      "Predicted: The a , to the location a other of the to the in a holidays . </s> \n",
      "(Train) BLEU (420 elements):  0.3564870311602148\n",
      ".....Step  71000\n",
      "Actual: Your personal information will only be used to process your booking . </s> \n",
      "\n",
      "Predicted: We personal information is be be made by be your personal confirmation </s> \n",
      "(Train) BLEU (510 elements):  0.34991207643103944\n",
      "============= Step  71000  =============\n",
      "\t Loss:  0.7673331626206636\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 24 Behold , I say unto you , that they shall be a ordained unto the people of men . </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the Skype to use the Skype to use the Skype to use the Skype Credit . </s> \n",
      "\n",
      "DE:  Private Parkplätze stehen für EUR 3,50 pro Tag in der Nähe zur Verfügung .\n",
      "\n",
      "\t EN (TRUE):Private parking is possible at a location nearby and costs EUR 3.50 per day .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Private parking is possible at a location nearby and costs EUR 6 <unk> per day . </s> \n",
      "\n",
      "DE:  Eine Woche später wird Dianne Feinstein , Vorstandsvorsitzende der Inspektoren , als Nachfolgerin Moscones ernannt . Sie ist die erste Bürgermeisterin der Stadt .\n",
      "\n",
      "\t EN (TRUE):Returning by the parallel Stockton or Powell will give you a better feeling of the day to day life of the residents , and are both good for those looking for imported commodities such as tea or herbs .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  Standort war sehr praktisch . In 5 Minuten ist man am Hauptbahnhof , in 10 Minuten im Bankenviertel .\n",
      "\n",
      "\t EN (TRUE):very central only a few minutes walk from Bohr / Ryanair bus stop and main train station.Generally cheap and cheerful .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very comfortable and the room was very comfortable . </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged USD 30 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I have a lot of time to the <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "\t EN (TRUE):First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very comfortable and the room was very comfortable . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.20670902427880022\n",
      "=====================================================\n",
      ".....Step  71500\n",
      "Actual: Characters are grouped into a character set ( also called a repertoire ) . </s> \n",
      "\n",
      "Predicted: <unk> can used by the <unk> , in or ) <unk> <unk> of ( </s> \n",
      "(Train) BLEU (450 elements):  0.35808742203745675\n",
      ".....Step  72000\n",
      "Actual: You ’ re also sure to appreciate the stylish lounge bar and our award winning Brasserie restaurant . </s> \n",
      "\n",
      "Predicted: There can ll also staying to enjoy the hotel and with . a room winning restaurant . . </s> \n",
      "(Train) BLEU (400 elements):  0.3478707844873222\n",
      "============= Step  72000  =============\n",
      "\t Loss:  0.7515221650153399\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Zum klimatisierten Hotel gehören auch ein Whirpool und eine traumhafte Sonnenterrasse .\n",
      "\n",
      "\t EN (TRUE):Apart from this , the guests can enjoy the facility of an independent air ##AT##-##AT## conditioning system , a jacuzzi and a beautiful sun terrace .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel offers a wide range of services and services . </s> \n",
      "\n",
      "DE:  1 Nun ließ der Herr , Gott , die Hungersnot im Land Ur so schwer werden , daß a Haran , mein Bruder , starb ; aber b Terach , mein Vater , lebte noch im Land Ur der Chaldäer .\n",
      "\n",
      "\t EN (TRUE):1 Now the Lord God caused the a famine to wax sore in the land of Ur , insomuch that b Haran , my brother , died ; but c Terah , my father , yet lived in the land of Ur , of the Chaldees .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 1 But behold , I say unto you , that they shall be a ordained unto the people of the Lord , and the b <unk> of the Lord , and the c <unk> of the Lord , and the c <unk> of the Lord , and the d <unk> of God . </s> \n",
      "\n",
      "DE:  Das ist viel einfacher ... Nein , streiten Sie nicht mit mir ... es ist einfacher ... ach , wie auch immer !\n",
      "\n",
      "\t EN (TRUE):This is far more easy ... no , don &apos;t argue with me ... it is easier ... ah whatever !\n",
      "\n",
      "\n",
      "\t EN (Predicted): I am <unk> , <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartments in Conil de la Frontera is a great place to rent in the Costa de la Luz . </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can download the file to the Windows Update Rollup 3 . </s> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very clean and the staff were very helpful . </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Windows Update Rollup 3 is a Windows version of the Windows 2000 SP4 . </s> \n",
      "\n",
      "DE:  Tux Racer wird Ihnen helfen , die Zeit totzuschlagen und sie können OpenOffice zum Arbeiten verwenden .\n",
      "\n",
      "\t EN (TRUE):Tux Racer will help you pass the time while you wait , and you can use OpenOffice for work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new version of the <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I have a lot of time to the <unk> . </s> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.19049217351798758\n",
      "=====================================================\n",
      ".....Step  72500\n",
      "Actual: A real ##AT##-##AT## world example from the yFiles API documentation is this package diagram for one of the packages in the yFiles library . </s> \n",
      "\n",
      "Predicted: The new ##AT##-##AT## time ##AT##-##AT## of the <unk> <unk> is is the , , for the of the most . the field repositories . </s> \n",
      "(Train) BLEU (510 elements):  0.361346075969009\n",
      ".....Step  73000\n",
      "Actual: The elegantly designed guest rooms are decorated in natural shades with wooden floors . </s> \n",
      "\n",
      "Predicted: The hotel decorated rooms rooms are decorated with a colours and modern floors . </s> \n",
      "(Train) BLEU (510 elements):  0.3612334116487857\n",
      "============= Step  73000  =============\n",
      "\t Loss:  0.7738231174945831\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the software for the purpose of the <unk> , and we will be able to use the software of the software . </s> \n",
      "\n",
      "DE:  Residenz City Lodge befindet sich am mandelförmigen Sweelinckplein im Herzen des schicken Duinoord ##AT##-##AT## Viertels in Den Haag .\n",
      "\n",
      "\t EN (TRUE):In the midst of the bustling city life , an oasis of peace and luxury can be found bordering the beautiful Haagsche Park , across from the main train station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the use of the use of the <unk> is not available . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , which is the best ##AT##-##AT## known ##AT##-##AT## known ##AT##-##AT## known ##AT##-##AT## selling and the <unk> <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Auch ist , so denkt Dr. Gutherz , bereits die erste Seite sehr viel versprechend , da sie eine Definition des klinischen Psychotrauma ##AT##-##AT## Begriffes enthält , der er gänzlich zustimmen kann .\n",
      "\n",
      "\t EN (TRUE):At the rhetorical climax of this summary , Dr Goodheart comes across some sentences expressed with great pathos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): He was a member of the <unk> of the <unk> , and the <unk> was the first officer to the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Das Cleddau Bridge Hotel ist der ideale Platz um zu entspannen oder geschäftlich zu reisen .\n",
      "\n",
      "\t EN (TRUE):Cleddau Bridge hotel is the ideal place for those who want a relaxing holiday or who travel for business .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city , just a few minutes away from the hotel . </s> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a lot of fun and fun . </s> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a good idea to get a car in the hotel . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1886420156000721\n",
      "=====================================================\n",
      ".....Step  73500\n",
      "Actual: Hub pubs are available in <unk> , <unk> and most major stations , which resemble English pubs and are reasonably priced . </s> \n",
      "\n",
      "Predicted: <unk> : , the in the , <unk> , <unk> of cities . and are the . , <unk> usually priced . </s> \n",
      "(Train) BLEU (460 elements):  0.3606593191537677\n",
      ".....Step  74000\n",
      "Actual: Most Hotels I have frequented do not have a charge to use the Swimming Pool . </s> \n",
      "\n",
      "Predicted: The of have have stayed a not have a lot of be the hotel pool . </s> \n",
      "(Train) BLEU (560 elements):  0.35838917142235005\n",
      "============= Step  74000  =============\n",
      "\t Loss:  0.7498676576018334\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 24 Behold , I say unto you , that ye may be a a <unk> , and ye shall be a <unk> . </s> \n",
      "\n",
      "DE:  Alle unterstützten Barcode Varianten sind in einem einzigen Interface konfigurierbar .\n",
      "\n",
      "\t EN (TRUE):All supported bar code formats are configurable through one single interface .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All of the most important software are available in the <unk> . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  Eine Woche später wird Dianne Feinstein , Vorstandsvorsitzende der Inspektoren , als Nachfolgerin Moscones ernannt . Sie ist die erste Bürgermeisterin der Stadt .\n",
      "\n",
      "\t EN (TRUE):Returning by the parallel Stockton or Powell will give you a better feeling of the day to day life of the residents , and are both good for those looking for imported commodities such as tea or herbs .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Zitate mit unterschiedlichsten stilistischen Effekten treffen aufeinander : Referenzen auf das narrative Autorenkino ( Hitchcock , Eisenstein , Godard , Brian De Palma ) , poetische oder theoretische Texte ( Tschechow , Duras , Barthes , Žižek , Weibel , Gržinić ) und Verweise auf Massenmedien – B ##AT##-##AT## Filme , TV ##AT##-##AT## Shows , Werbespots , politische Nachrichtensendungen .\n",
      "\n",
      "\t EN (TRUE):Out of all this material , mixed with disnarrative polysemy and an astonishing lack of inhibition , strange “ fictions ” are reconstructed — fragmentary fictions that are constantly interrupted .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> ) is a <unk> ##AT##-##AT## based ##AT##-##AT## based ##AT##-##AT## based ##AT##-##AT## based system , a <unk> ##AT##-##AT## <unk> , and the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Die Bewohner des Nordens sind ein buntes Völkergemisch aus den verschiedensten Bergstämmen und den Nord ##AT##-##AT## Thais oder kon mueang ; die traditionell in den fruchtbaren Tiefebenen Nordthailands siedeln . In vielerlei Hinsicht halten sich die Nord Thais für die &quot; wahren &quot; Thais , die die Thai ##AT##-##AT## Kultur noch am besten über die Zeit gerettet haben .\n",
      "\n",
      "\t EN (TRUE):From Pratu Chiang Mai market , songthaews also travel to Hang Dong ( 20 baht ) and San Patong , south ##AT##-##AT## west of Chiang Mai .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged USD 30 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Obwohl das Nazi ##AT##-##AT## Regime die Buddhistische Gemeinde in Berlin , die seit 1936 aktiv gewesen war , schloss und kurzzeitig deren Begründer Martin Steinke 1941 inhaftierte , verfolgte es die Buddhisten nicht generell .\n",
      "\n",
      "\t EN (TRUE):Although the Nazi regime closed the Buddhistische Gemeinde ( Buddhist Society ) in Berlin , which had been active from 1936 , and briefly arrested its founder Martin Steinke in 1941 , they generally did not persecute Buddhists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Bamberg , die &quot; Traumstadt der Deutschen &quot; , seine aufgeschlossenen Menschen und seine romantische Umgebung wird auch Sie begeistern , denn sie bietet für jeden etwas .\n",
      "\n",
      "\t EN (TRUE):The beauty and rich cultural life of this town can be enjoyed at any time of year . Soak up the summer sun whilst relaxing at one of the many sidewalk cafés in the historic old town or savour a cool beer beneath a shady chestnut tree in one of the popular beer gardens .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Test) BLEU (100 elements):  0.18875918192167132\n",
      "=====================================================\n",
      ".....Step  74500\n",
      "Actual: The pulsating city of <unk> with tax free shopping is the main attraction for the national tourist of the Venezuelan mainland . </s> \n",
      "\n",
      "Predicted: The <unk> <unk> of <unk> is the <unk> is malls the most tourist of the <unk> and and the city . . </s> \n",
      "(Train) BLEU (530 elements):  0.3502311704303563\n",
      ".....Step  75000\n",
      "Actual: Updated the &quot; Symptoms &quot; section to include information about additional programs that are affected by this problem . </s> \n",
      "\n",
      "Predicted: Updated the right <unk> &quot; and to the the about the information . are not by the . . </s> \n",
      "(Train) BLEU (470 elements):  0.345428393035386\n",
      "============= Step  75000  =============\n",
      "\t Loss:  0.7638545509427785\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  In dem traditionellen Fischerdorf werden ausländische Gäste sehr herzlich empfangen . Seien Sie allerdings gewarnt vor dem Zustand der Strasse und fahren Sie vorsichtig !\n",
      "\n",
      "\t EN (TRUE):It &apos;s a small traditional fishing village , with friendly locals , always very welcoming to British tourists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to enjoy a drink in the hotel ’ s pool , a bar and a bar . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All apartments in the <unk> Hotel , the hotel is located in the centre of the city , in the centre of the city . </s> \n",
      "\n",
      "DE:  shower was ok but leaked needed updating .\n",
      "\n",
      "\t EN (TRUE):the response to to requests was poor , phone 3 time for milk in the room over 4 hours .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Wünschen Sie Unterstützung bei der der Zentrensuche ?\n",
      "\n",
      "\t EN (TRUE):Would you like being assisted in searching a specialised centre ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can find the best information about the best possible . </s> \n",
      "\n",
      "DE:  Alle älteren Kinder oder Erwachsene zahlen EUR 32,00 pro Übernachtung und Person für Zustellbetten .\n",
      "\n",
      "\t EN (TRUE):All older children or adults are charged EUR 32.00 per night and person for extra beds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All older children or adults are charged EUR 30 <unk> per night and person for extra beds . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; <unk> &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  Die Musikant entspricht dem Folkrock . Dennoch finden sich in den Liedern viele musikalische Elemente aus klassisch- folklorischer Liedern aus Anatolien bis zum Mittelmeer , aus Latein- amerikanischen Märschen bis hin zu klassischen Rockklängen .\n",
      "\n",
      "\t EN (TRUE):Yorum continues to sing hopeful songs in the name of all the world &apos;s revolutionary music .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18123364564964226\n",
      "=====================================================\n",
      ".....Step  75500\n",
      "Actual: Anyone looking to stay . . . don &apos;t bother hesitating this is the best accomodation on the Island ! </s> \n",
      "\n",
      "Predicted: The a for stay at </s> \n",
      "(Train) BLEU (480 elements):  0.3594098364707023\n",
      ".....Step  76000\n",
      "Actual: After Daniels &apos; removal of Jonathan Archer from the Enterprise inadvertently caused the destruction of civilization on Earth sometime prior to the 31st century , Silik ( leader of the Cabal ) was unable to communicate with his master . </s> \n",
      "\n",
      "Predicted: In the , <unk> of the , , the <unk> of to by <unk> of the , the , , to the <unk> of . the the the in the <unk> ##AT##-##AT## . the to be with the <unk> . </s> \n",
      "(Train) BLEU (520 elements):  0.3524091888966676\n",
      "============= Step  76000  =============\n",
      "\t Loss:  0.7726870039403438\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  In der Hotelbeschreibung im Internet müßte die Zufahrt beschrieben werden .\n",
      "\n",
      "\t EN (TRUE):There are no adverse comments about this hotel at all .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the Skype to use the Skype Software to use the Site to the Skype Software or website . </s> \n",
      "\n",
      "DE:  Das ist viel einfacher ... Nein , streiten Sie nicht mit mir ... es ist einfacher ... ach , wie auch immer !\n",
      "\n",
      "\t EN (TRUE):This is far more easy ... no , don &apos;t argue with me ... it is easier ... ah whatever !\n",
      "\n",
      "\n",
      "\t EN (Predicted): I am <unk> , <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Die schlanke , einfache Oberfläche und die gute Performance machen es zum idealen Werkzeug , um dein Netbook ( oder normales Notebook ) in einen e ##AT##-##AT## Book Reader zu verwandeln .\n",
      "\n",
      "\t EN (TRUE):Its low resource use , simple interface and fast performance makes it the ideal tool to turn your netbook ( or regular laptop ) into an e ##AT##-##AT## book reader .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the NI <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Genießen Sie das ganze Jahr über die Sonne und erfrischen Sie sich im Außenpool , während Ihre Kinder sicher in ihren eigenen Schwimmbecken spielen .\n",
      "\n",
      "\t EN (TRUE):Soak up the year ##AT##-##AT## round sunshine as you enjoy a dip in one of the outdoor swimming pools , as children play safely in their own pools .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Enjoy the best quality of the hotel ’ s room , which is a great place to relax and enjoy a drink in the hotel . </s> \n",
      "\n",
      "DE:  Booking.com : Best Western Hotell SöderH , Söderhamn , Schweden - 29 Gästebewertungen .\n",
      "\n",
      "\t EN (TRUE):Booking.com : Best Western Hotell SöderH , Söderhamn , Sweden - 29 Guest reviews .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Booking .com : hotel <unk> <unk> <unk> , <unk> . </s> \n",
      "\n",
      "DE:  Wünschen Sie Unterstützung bei der der Zentrensuche ?\n",
      "\n",
      "\t EN (TRUE):Would you like being assisted in searching a specialised centre ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can find the answers to make your stay . </s> \n",
      "\n",
      "DE:  Das Athens Gate Hotel liegt unterhalb der Akropolis nur 100 m vom neuen Akropolis ##AT##-##AT## Museum entfernt .\n",
      "\n",
      "\t EN (TRUE):The Athens Gate Hotel rests under the Acropolis , just 100 metres from the new Acropolis museum .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city centre , just a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The <unk> &quot; is a new version of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1749180092970967\n",
      "=====================================================\n",
      ".....Step  76500\n",
      "Actual: Its network of 13 lines runs from 6am to midnight . </s> \n",
      "\n",
      "Predicted: The parking of the <unk> are from the to 10 and </s> \n",
      "(Train) BLEU (360 elements):  0.3642232900729666\n",
      ".....Step  77000\n",
      "Actual: Alkacon Software GmbH provides it &apos;s customers with support , training and consulting services for OpenCms . </s> \n",
      "\n",
      "Predicted: We Software offers is information to latest to our for and and services . . your . </s> \n",
      "(Train) BLEU (530 elements):  0.34841739269388045\n",
      "============= Step  77000  =============\n",
      "\t Loss:  0.7508542585670948\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  In raschem Tempo werden die Modelle angepasst und erneuert .\n",
      "\n",
      "\t EN (TRUE):The models are quickly being improved and renewed .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  15. einem Dritten bei dem Verstoss gegen eine dieser Regeln zu helfen .\n",
      "\n",
      "\t EN (TRUE):15. assist any third party in engaging in any activity prohibited by these Terms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the use of the <unk> is not permitted to be . </s> \n",
      "\n",
      "DE:  Zitate mit unterschiedlichsten stilistischen Effekten treffen aufeinander : Referenzen auf das narrative Autorenkino ( Hitchcock , Eisenstein , Godard , Brian De Palma ) , poetische oder theoretische Texte ( Tschechow , Duras , Barthes , Žižek , Weibel , Gržinić ) und Verweise auf Massenmedien – B ##AT##-##AT## Filme , TV ##AT##-##AT## Shows , Werbespots , politische Nachrichtensendungen .\n",
      "\n",
      "\t EN (TRUE):Out of all this material , mixed with disnarrative polysemy and an astonishing lack of inhibition , strange “ fictions ” are reconstructed — fragmentary fictions that are constantly interrupted .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a great place to stay in the hotel . </s> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to be a great place to enjoy the best in the city , and the <unk> is a great place to enjoy a drink . </s> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a variety of different types of different types of different types . </s> \n",
      "\n",
      "DE:  in dieser Option ermöglicht , Dateien relativ zum aktuellen Verzeichnis einzubinden .\n",
      "\n",
      "\t EN (TRUE):in the include path allows for relative includes as it means the current directory . However , it is more efficient to explicitly use include &apos; . / file &apos; than having PHP always check the current directory for every include .\n",
      "\n",
      "\n",
      "\t EN (Predicted): ) , the only thing is not specified in the same way . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.19518133489175335\n",
      "=====================================================\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      ".....Step  77500\n",
      "Actual: Windows Media <unk> ( <unk> ) files are Windows Media <unk> that reference Windows Media Audio ( <unk> ) , Windows Media Video ( <unk> ) files , or both . </s> \n",
      "\n",
      "Predicted: Windows Media Player ® <unk> ) , are available Media Player , is the Media Player ( <unk> ) , which Media Player , Windows ) , , and the the </s> \n",
      "(Train) BLEU (590 elements):  0.3592088662944869\n",
      ".....Step  78000\n",
      "Actual: 10 And it came to pass that as my father arose in the morning , and went forth to the tent door , to his great astonishment he beheld upon the ground a round a ball of curious workmanship ; and it was of fine brass . </s> \n",
      "\n",
      "Predicted: 9 And it came to pass that I they father had and the a , and the forth , the a of , and the a <unk> , , the the a , <unk> of day , the , , and they was not the , , </s> \n",
      "(Train) BLEU (450 elements):  0.3586845766665499\n",
      "============= Step  78000  =============\n",
      "\t Loss:  0.7565539127588272\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  In raschem Tempo werden die Modelle angepasst und erneuert .\n",
      "\n",
      "\t EN (TRUE):The models are quickly being improved and renewed .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> . </s> \n",
      "\n",
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "\t EN (TRUE):As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a small and medium ##AT##-##AT## sized ##AT##-##AT## sized ##AT##-##AT## in ##AT##-##AT## house , which is a small town of <unk> , which is the most important way to the <unk> . </s> \n",
      "\n",
      "DE:  Eine Woche später wird Dianne Feinstein , Vorstandsvorsitzende der Inspektoren , als Nachfolgerin Moscones ernannt . Sie ist die erste Bürgermeisterin der Stadt .\n",
      "\n",
      "\t EN (TRUE):Returning by the parallel Stockton or Powell will give you a better feeling of the day to day life of the residents , and are both good for those looking for imported commodities such as tea or herbs .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Das „ Ladino di Fassa “ ist jedoch mehr als ein Dialekt – es ist eine richtige Sprache .\n",
      "\n",
      "\t EN (TRUE):This is Ladin from Fassa which is more than a dialect : it is a language in its own right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a bit more than a few minutes . </s> \n",
      "\n",
      "DE:  Das Athens Gate Hotel liegt unterhalb der Akropolis nur 100 m vom neuen Akropolis ##AT##-##AT## Museum entfernt .\n",
      "\n",
      "\t EN (TRUE):The Athens Gate Hotel rests under the Acropolis , just 100 metres from the new Acropolis museum .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city centre , just a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The NI LabVIEW Real ##AT##-##AT## Time Module is a powerful tool for the NI <unk> ##AT##-##AT## <unk> , which is a powerful tool for the NI <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1779713935447057\n",
      "=====================================================\n",
      ".....Step  78500\n",
      "Actual: And our own history as central Europeans has been far from happy . </s> \n",
      "\n",
      "Predicted: And the <unk> is , a in have been a from the to </s> \n",
      "(Train) BLEU (480 elements):  0.36239978371045806\n",
      ".....Step  79000\n",
      "Actual: Read the section called “ Pattern Matching in Ignore Lists ” for more information on the pattern ##AT##-##AT## matching syntax . </s> \n",
      "\n",
      "Predicted: You about latest of “ <unk> ” &apos; the ” ” . the information . the website . based . . </s> \n",
      "(Train) BLEU (620 elements):  0.3602221125860483\n",
      "============= Step  79000  =============\n",
      "\t Loss:  0.7527093480676412\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 30 ) is a <unk> , and that the Lord shall be a <unk> , and the b <unk> of the Lord . </s> \n",
      "\n",
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a small town of <unk> , in the <unk> Valley , in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very close to the city centre . </s> \n",
      "\n",
      "DE:  Eine Woche später wird Dianne Feinstein , Vorstandsvorsitzende der Inspektoren , als Nachfolgerin Moscones ernannt . Sie ist die erste Bürgermeisterin der Stadt .\n",
      "\n",
      "\t EN (TRUE):Returning by the parallel Stockton or Powell will give you a better feeling of the day to day life of the residents , and are both good for those looking for imported commodities such as tea or herbs .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Genießen Sie das ganze Jahr über die Sonne und erfrischen Sie sich im Außenpool , während Ihre Kinder sicher in ihren eigenen Schwimmbecken spielen .\n",
      "\n",
      "\t EN (TRUE):Soak up the year ##AT##-##AT## round sunshine as you enjoy a dip in one of the outdoor swimming pools , as children play safely in their own pools .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also enjoy a drink in the bar , a bar and bar bar . </s> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is a bit small and the hotel is a bit far from the hotel . </s> \n",
      "\n",
      "DE:  Alle älteren Kinder oder Erwachsene zahlen EUR 32,00 pro Übernachtung und Person für Zustellbetten .\n",
      "\n",
      "\t EN (TRUE):All older children or adults are charged EUR 32.00 per night and person for extra beds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All older children or adults are charged EUR 15 <unk> per night and person for extra beds . </s> \n",
      "\n",
      "DE:  Zimmerbeschreibung : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\t EN (TRUE):Room Notes : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Room Notes : The <unk> Hotel in <unk> is located in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Bamberg , die &quot; Traumstadt der Deutschen &quot; , seine aufgeschlossenen Menschen und seine romantische Umgebung wird auch Sie begeistern , denn sie bietet für jeden etwas .\n",
      "\n",
      "\t EN (TRUE):The beauty and rich cultural life of this town can be enjoyed at any time of year . Soak up the summer sun whilst relaxing at one of the many sidewalk cafés in the historic old town or savour a cool beer beneath a shady chestnut tree in one of the popular beer gardens .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1905925106840879\n",
      "=====================================================\n",
      ".....Step  79500\n",
      "Actual: Rooms were small . The toilet had dark tiles on the walls , which made it seem very <unk> . </s> \n",
      "\n",
      "Predicted: The were very and </s> \n",
      "(Train) BLEU (470 elements):  0.35682725073028304\n",
      ".....Step  80000\n",
      "Actual: Your ownership in the fansite excludes the SOE <unk> Content and SOE Marks and excludes any derivative works based upon or including the SOE <unk> Content and / or SOE Marks . The fansite is not a &quot; Joint Work &quot; as that term is defined in the United States Copyright Act , Title 17 United States Code ( &quot; \n",
      "\n",
      "Predicted: You personal data terms Site are the information is , , Services Agreement Service Services the other or in on the ##AT##-##AT## any Site or , Provider Services or Services , Service </s> \n",
      "(Train) BLEU (480 elements):  0.36948483424489487\n",
      "============= Step  80000  =============\n",
      "\t Loss:  0.7652924332767725\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Der nordwestliche Teil der Insel besteht aus Granit und Gneis , von Ton überlagert , und bildet eine ca.\n",
      "\n",
      "\t EN (TRUE):A battle between Denmark and Sweden in 1645 led to Swedish control of the island , but it was brief - they left again the same year . In the Roskildepeace of 1658 Bornholm , Skaane , Halland and Blekinge were given to Sweden .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small <unk> , which is the largest city centre , which is the largest city centre . </s> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 20 But behold , they were not a <unk> , and the b <unk> of the Lord , and the b <unk> of the Lord , and the c <unk> of the Lord , and the c <unk> of the Lord , and the d <unk> of the Lord , and the <unk> of the Lord , and the <unk> \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Located in the heart of the city , just a few minutes from the city centre , the hotel is a 5 ##AT##-##AT## minute walk from the city centre and the main railway station . </s> \n",
      "\n",
      "DE:  Länge : 11,28m ; Breite : 3,66m ; Tiefgang : 0,30m ; Bj.2006 ; Liegeplatz : River Dart , Großbritannien ; 2 Motor ( en ) ; Volvo D4 260hp ; Description : The Bavaria Sport is a really impressive boat ...\n",
      "\n",
      "\t EN (TRUE):Length : 11.40m ( ~ 37.40 ft ) ; Beam : 3.68m ; Draft : 0.90m ; built 2005 ; Location : Orsera Nautika / Kroatien ##AT##-##AT## Vrsar , Croatia ( Hrvatska ) ; 2 Engine / manufac . ; Volvo Penta 5,7 GXI ; 478kW ; 430 Engine Hours ; Weight : 6.800kg ; Neues Raymarine C70 , verlängerte Badeplattform mit Staufächern , Kühlschr ...\n",
      "\n",
      "\n",
      "\t EN (Predicted): : 1 : <unk> ) , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Naturreservat auf aufgeschüttetem Gelände am Río de la Plata .\n",
      "\n",
      "\t EN (TRUE):Wide selection of main courses including fresh pasta in homemade sauces ( $ 15 ##AT##-##AT## 30AR ) , traditional chicken dishes incuding Chicken Marsala ( $ 20AR- $ 30AR ) , and a variety of meats including Argentine parilla style steaks ( $ 35AR ) . The menu of seafood is worth considering with rareties such as fresh Yellow ##AT##-##AT## fin Tuna steak in a pesto sauce ( $ 30AR ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a small town of <unk> , in the center of the city . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Kosten Sie mediterrane Gerichte im preisgekrönten Restaurant Molyvos .\n",
      "\n",
      "\t EN (TRUE):Enjoy award winning Mediterranean cuisine at Molyvos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Restaurant , the restaurant serves a wide selection of dishes and international dishes . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; <unk> &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18543995184271464\n",
      "=====================================================\n",
      ".....Step  80500\n",
      "Actual: <unk> superior room &amp; was sent to room down dark corridor , room like dungeon - very dark &amp; very stained <unk> was first impression . <unk> different room &amp; was granted immediately . </s> \n",
      "\n",
      "Predicted: The <unk> room and the a to the with the . . the was the , a clean and <unk> nice . . very . . </s> \n",
      "(Train) BLEU (520 elements):  0.3412430158260012\n",
      ".....Step  81000\n",
      "Actual: There are great <unk> throughout the country , both private and public ones . </s> \n",
      "\n",
      "Predicted: <unk> are many <unk> , the city , but the and <unk> transport . </s> \n",
      "(Train) BLEU (530 elements):  0.36013308479561656\n",
      "============= Step  81000  =============\n",
      "\t Loss:  0.7567510389387607\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  &#124; Ferienwohnungen 1 Zi &#124; Ferienhäuser &#124; Landhäuser &#124; Autovermietung &#124; Last Minute Angebote ! !\n",
      "\n",
      "\t EN (TRUE):&#124; 1 Bedroom Apts &#124; Holiday houses &#124; Rural Homes &#124; Car Rental &#124; Last Minute Offers !\n",
      "\n",
      "\n",
      "\t EN (Predicted): Apartments &#124; Hotels &#124; Hostels &#124; Hotels &#124; Hostels &#124; Last Minute Offers ! </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the Skype to use the Skype to use the Skype Software to use the Site to the Skype . </s> \n",
      "\n",
      "DE:  Es existieren Busverbindungen in nahezu jeden Ort der Provence ( eventuell mit Umsteigen in Aix ##AT##-##AT## en ##AT##-##AT## Provence ) , allerdings sollte beachtet werden , dass die letzten Busse abends ca. um 19 Uhr fahren .\n",
      "\n",
      "\t EN (TRUE):As always in France those highways are expensive but practical , comfortable and fast .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a small town of <unk> , and the <unk> is a great place to get a <unk> . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartments in Conil de la Frontera is a small town house in Tarifa . </s> \n",
      "\n",
      "DE:  Da jedes SCXI ##AT##-##AT## Modul die Signale auf einen einzigen Kanal des Datenerfassungsmoduls multiplext , lassen sich problemlos weitere Module hinzufügen , was für eine höhere Kanalanzahl sorgt .\n",
      "\n",
      "\t EN (TRUE):It can multiplex its signals into a single channel of the DAQ device , and you can add modules to increase channel count .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The NI <unk> is a powerful tool for the NI <unk> ##AT##-##AT## <unk> , which is a powerful tool for the NI <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the Best Western <unk> Hotel <unk> ? </s> \n",
      "\n",
      "DE:  Auch ist , so denkt Dr. Gutherz , bereits die erste Seite sehr viel versprechend , da sie eine Definition des klinischen Psychotrauma ##AT##-##AT## Begriffes enthält , der er gänzlich zustimmen kann .\n",
      "\n",
      "\t EN (TRUE):At the rhetorical climax of this summary , Dr Goodheart comes across some sentences expressed with great pathos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> was a <unk> of the <unk> , and the <unk> was a <unk> <unk> . </s> \n",
      "\n",
      "DE:  With a unique location in the heart of Peneda / Gerês National Park , this Pousada has a breathking view over the river Cávado and the peaceful Caniçada dam .\n",
      "\n",
      "\t EN (TRUE):Located in the heart of Peneda ##AT##-##AT## Gerês National Park , this guest house boasts panoramic views of the surrounding mountains and is a welcome retreat for nature enthusiasts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Obwohl das Nazi ##AT##-##AT## Regime die Buddhistische Gemeinde in Berlin , die seit 1936 aktiv gewesen war , schloss und kurzzeitig deren Begründer Martin Steinke 1941 inhaftierte , verfolgte es die Buddhisten nicht generell .\n",
      "\n",
      "\t EN (TRUE):Although the Nazi regime closed the Buddhistische Gemeinde ( Buddhist Society ) in Berlin , which had been active from 1936 , and briefly arrested its founder Martin Steinke in 1941 , they generally did not persecute Buddhists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "\t EN (TRUE):First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.20725538738215887\n",
      "=====================================================\n",
      ".....Step  81500\n",
      "Actual: Set between the Santa Maria Novella Railway Station and the majestic Duomo , Hotel Deco offers simple , clean accommodation and a welcoming atmosphere in the centre of Florence . </s> \n",
      "\n",
      "Predicted: The in the <unk> Maria Novella , Station , the <unk> <unk> , this <unk> apartments a , modern and , a convenient atmosphere . the heart of the . </s> \n",
      "(Train) BLEU (550 elements):  0.3517433176624245\n",
      ".....Step  82000\n",
      "Actual: The superb attention received from the reception staff from the moment of my arrival to the time of departure . The free public transport pass was very much appreciate not so much for its monetary value but for it made travelling around the city much easier as it dispensed the visitor from having to deal with <unk> ticketing procedures . \n",
      "\n",
      "Predicted: The hotel location to the the hotel . . the hotel . the room . the hotel . the . </s> \n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Train) BLEU (500 elements):  0.3576798207728401\n",
      "============= Step  82000  =============\n",
      "\t Loss:  0.7543763101100922\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very close to the city centre . </s> \n",
      "\n",
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a small town of <unk> , in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  „ Für uns junge slowenische Architekten ist prägend , wie Plečnik den öffentlichen Raum in Ljubljana zu gliedern verstand .\n",
      "\n",
      "\t EN (TRUE):“ For us young Slovene architects the way in which Plečnik was able to shape public space in Ljubljana is highly influential .\n",
      "\n",
      "\n",
      "\t EN (Predicted): “ <unk> <unk> ” is a new tool for the <unk> <unk> , the <unk> <unk> , and the <unk> . </s> \n",
      "\n",
      "DE:  Genießen Sie hier in gemütlicher Atmosphäre ein kühles Kölsch oder einen erfrischenden Cocktail .\n",
      "\n",
      "\t EN (TRUE):Enjoy a local beer or refreshing cocktail in a cosy atmosphere .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can enjoy a drink in the sauna or a terrace . </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> <unk> , which is the best for the <unk> <unk> . </s> \n",
      "\n",
      "DE:  Dazu kam die deutsche Beteiligung an AWACS ##AT##-##AT## Flügen .\n",
      "\n",
      "\t EN (TRUE):Additionally , the Germans participated in AWACS flights .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the first ##AT##-##AT## class ##AT##-##AT## class team . </s> \n",
      "\n",
      "DE:  Das ist eine Metapher , wird jemand von der Propagandaabteilung entgegnen .\n",
      "\n",
      "\t EN (TRUE):It &apos;s only a metaphor , people from the propaganda department will say .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a string . </s> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I have a lot of time to the <unk> . </s> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small and modern hotel with a large garden , a large garden , a sauna and a solarium . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.20311900719936204\n",
      "=====================================================\n",
      ".....Step  82500\n",
      "Actual: The city has a lot of possibilities for entertainment . The attractions , are for example , the water tower in the centre , the new <unk> park on the shore and some villas of big Hungarian poets and writers . </s> \n",
      "\n",
      "Predicted: The hotel centre a total of parking for the and </s> \n",
      "(Train) BLEU (470 elements):  0.35731100539939054\n",
      ".....Step  83000\n",
      "Actual: Situated on the outskirts of Triglav National Park near Lake Bohinj , the Hotel <unk> is a charming family ##AT##-##AT## run hotel , surrounded by impressive mountains and lush alpine forests . </s> \n",
      "\n",
      "Predicted: The in the <unk> of the <unk> Park , the <unk> , this hotel <unk> is a modern hotel run run hotel , located by the architecture . the gardens . . </s> \n",
      "(Train) BLEU (420 elements):  0.3465587619930766\n",
      "============= Step  83000  =============\n",
      "\t Loss:  0.7557945800423622\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  1 Nun ließ der Herr , Gott , die Hungersnot im Land Ur so schwer werden , daß a Haran , mein Bruder , starb ; aber b Terach , mein Vater , lebte noch im Land Ur der Chaldäer .\n",
      "\n",
      "\t EN (TRUE):1 Now the Lord God caused the a famine to wax sore in the land of Ur , insomuch that b Haran , my brother , died ; but c Terah , my father , yet lived in the land of Ur , of the Chaldees .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 1 But behold , I say unto you , that I will b <unk> , and the Lord God , and the b <unk> of the Lord , and the b <unk> of the Lord , and the c <unk> of the Lord , and the c <unk> of the Lord , and the d <unk> of the Lord , \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Our apartments are located in the <unk> <unk> , in the center of the city , in the center of the city . </s> \n",
      "\n",
      "DE:  shower was ok but leaked needed updating .\n",
      "\n",
      "\t EN (TRUE):the response to to requests was poor , phone 3 time for milk in the room over 4 hours .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "DE:  Die Prüfgeräte von Olympus erweitern den Bereich des menschlichen Auges bei der industriellen Sichtprüfung . Mit unseren Industrieendoskopen werden verdeckte Bereiche mit beschränktem Zugang sichtbar gemacht , wie z.\n",
      "\n",
      "\t EN (TRUE):Olympus test equipment expands the range of the human eye in industrial visual inspection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Das Haus liegt in der CCZ ##AT##-##AT## Umweltzone und bietet eine sehr gute Anbindung an das Bus- und U ##AT##-##AT## Bahnnetz .\n",
      "\n",
      "\t EN (TRUE):Set inside the central London congestion ##AT##-##AT## charging zone , this modern hotel has superb transport links , with access to the Tube and the bus network practically on the doorstep .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a great choice for a relaxing break , a large outdoor swimming pool , a sauna and steam room . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Dazu kam die deutsche Beteiligung an AWACS ##AT##-##AT## Flügen .\n",
      "\n",
      "\t EN (TRUE):Additionally , the Germans participated in AWACS flights .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is the first ##AT##-##AT## class ##AT##-##AT## class project . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The &quot; <unk> &quot; is a &quot; <unk> &quot; ( &quot; <unk> &quot; ) , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I have a lot of time to the <unk> , but it is not a problem . </s> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a good idea of the city , but it is a good idea to get a little bit . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.2003116641891743\n",
      "=====================================================\n",
      ".....Step  83500\n",
      "Actual: Am <unk> <unk> o <unk> la <unk> hotel , <unk> la ora 3 <unk> , <unk> <unk> de 25 de <unk> s ##AT##-##AT## a <unk> pe <unk> cu un <unk> <unk> , evident ca nu am mai <unk> <unk> . </s> \n",
      "\n",
      "Predicted: The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . <unk> <unk> <unk> . </s> \n",
      "(Train) BLEU (440 elements):  0.353932914818429\n",
      ".....Step  84000\n",
      "Actual: We are fully integrated into the village and you can participate in the Brazilian way of life : holidays , music and dance for all ages . </s> \n",
      "\n",
      "Predicted: The are also equipped with the hotel of the can find in the city area . the . the , <unk> , <unk> . children ages . </s> \n",
      "(Train) BLEU (450 elements):  0.35177929991189383\n",
      "============= Step  84000  =============\n",
      "\t Loss:  0.7596944828629494\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 33 ) , I will give unto you a a <unk> , and the b <unk> of the Lord . </s> \n",
      "\n",
      "DE:  Tarbet Gast ist Haus im ersten Nationalpark von Schottland aufgestellt und hat eine gehobene Position hoch über dem Dorf von Tarbet und genießt spektakuläre südliche Blicke Bucht Lomond hinunter und nach der westlichen Seite von Ben Lomond .\n",
      "\n",
      "\t EN (TRUE):Tarbet Guest House is situated In Scotland ’ s first National Park and has an elevated position high above the village of Tarbet and enjoys spectacular southerly views down Loch Lomond and towards the western side of Ben Lomond .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is located in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartments in Conil de la Frontera is a small town house in Conil . </s> \n",
      "\n",
      "DE:  Zitate mit unterschiedlichsten stilistischen Effekten treffen aufeinander : Referenzen auf das narrative Autorenkino ( Hitchcock , Eisenstein , Godard , Brian De Palma ) , poetische oder theoretische Texte ( Tschechow , Duras , Barthes , Žižek , Weibel , Gržinić ) und Verweise auf Massenmedien – B ##AT##-##AT## Filme , TV ##AT##-##AT## Shows , Werbespots , politische Nachrichtensendungen .\n",
      "\n",
      "\t EN (TRUE):Out of all this material , mixed with disnarrative polysemy and an astonishing lack of inhibition , strange “ fictions ” are reconstructed — fragmentary fictions that are constantly interrupted .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> ) is a <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Standort war sehr praktisch . In 5 Minuten ist man am Hauptbahnhof , in 10 Minuten im Bankenviertel .\n",
      "\n",
      "\t EN (TRUE):very central only a few minutes walk from Bohr / Ryanair bus stop and main train station.Generally cheap and cheerful .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): See the <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das Athens Gate Hotel liegt unterhalb der Akropolis nur 100 m vom neuen Akropolis ##AT##-##AT## Museum entfernt .\n",
      "\n",
      "\t EN (TRUE):The Athens Gate Hotel rests under the Acropolis , just 100 metres from the new Acropolis museum .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city centre , just a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the following version of the <unk> , and then it is possible to download the file . </s> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.19111447990038205\n",
      "=====================================================\n",
      ".....Step  84500\n",
      "Actual: You are here : Home &gt; Spain &gt; Tenerife &gt; Puerto de Santiago &gt; Hi ! </s> \n",
      "\n",
      "Predicted: You can here : Home &gt; &gt; &gt; &gt; &gt; &gt; . <unk> . <unk> : </s> \n",
      "(Train) BLEU (490 elements):  0.35137978260098984\n",
      ".....Step  85000\n",
      "Actual: To change this setting , refer to Menu &gt; Settings &gt; Resident and select any other possible option . </s> \n",
      "\n",
      "Predicted: To see the file , click to the Start Settings &gt; &gt; , follow the file file . . </s> \n",
      "(Train) BLEU (610 elements):  0.366691961222793\n",
      "============= Step  85000  =============\n",
      "\t Loss:  0.7571439181864261\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  In der Hotelbeschreibung im Internet müßte die Zufahrt beschrieben werden .\n",
      "\n",
      "\t EN (TRUE):There are no adverse comments about this hotel at all .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Man schließt die Gitarre über Mikrofon oder Pickup an die PC Soundkarte an und schon kann es losgehen .\n",
      "\n",
      "\t EN (TRUE):You connect the guitar via microphone or pickup with the PC soundcard and you are ready !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> <unk> <unk> ( <unk> ) , which is a <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and comfortable . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I use the latest version ? </s> \n",
      "\n",
      "DE:  Zitate mit unterschiedlichsten stilistischen Effekten treffen aufeinander : Referenzen auf das narrative Autorenkino ( Hitchcock , Eisenstein , Godard , Brian De Palma ) , poetische oder theoretische Texte ( Tschechow , Duras , Barthes , Žižek , Weibel , Gržinić ) und Verweise auf Massenmedien – B ##AT##-##AT## Filme , TV ##AT##-##AT## Shows , Werbespots , politische Nachrichtensendungen .\n",
      "\n",
      "\t EN (TRUE):Out of all this material , mixed with disnarrative polysemy and an astonishing lack of inhibition , strange “ fictions ” are reconstructed — fragmentary fictions that are constantly interrupted .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> ) is a <unk> ##AT##-##AT## based ##AT##-##AT## based ##AT##-##AT## based ##AT##-##AT## based system , which is a new tool for the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> , and the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Nachfolgend sehen Sie die Gästebewertungen von Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\t EN (TRUE):The guest reviews are submitted by our customers after their stay at Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The guest reviews are submitted by our customers after their stay at <unk> Hotel . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): See the <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The &quot; <unk> &quot; is a &quot; <unk> &quot; ( &quot; <unk> &quot; ) , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; \n",
      "\n",
      "DE:  Bei einer digitalen Bildkette wird das Intensitätssignal für jedes Pixel ohne analoge Zwischenschritte direkt in der Detektoreinheit digitalisiert , d.h. in Zahlen umgewandelt .\n",
      "\n",
      "\t EN (TRUE):A digital image chain is an image chain that is equipped with a digital detector instead of an analogue one .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Die Musikant entspricht dem Folkrock . Dennoch finden sich in den Liedern viele musikalische Elemente aus klassisch- folklorischer Liedern aus Anatolien bis zum Mittelmeer , aus Latein- amerikanischen Märschen bis hin zu klassischen Rockklängen .\n",
      "\n",
      "\t EN (TRUE):Yorum continues to sing hopeful songs in the name of all the world &apos;s revolutionary music .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.17185709253179196\n",
      "=====================================================\n",
      ".....Step  85500\n",
      "Actual: The guest reviews are submitted by our customers after their stay at <unk> . </s> \n",
      "\n",
      "Predicted: The guest reviews are submitted by our customers after their stay at <unk> . </s> \n",
      "(Train) BLEU (490 elements):  0.3627599818870941\n",
      ".....Step  86000\n",
      "Actual:  <unk> &quot; ( <unk> ) for high voice and string quartet ( 1912 ) . </s> \n",
      "\n",
      "Predicted: &quot; <unk> , <unk> <unk> ) , the ##AT##-##AT## , orchestra orchestra . <unk> ) . </s> \n",
      "(Train) BLEU (640 elements):  0.36977035122671376\n",
      "============= Step  86000  =============\n",
      "\t Loss:  0.7583476008176804\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Das Hotel Sempione verfügt über eine ideale , ruhige Lage in einem geschäftigen Viertel mit guter Verkehrsanbindung . Der Bahnhof und eine U ##AT##-##AT## Bahnstation liegen in der Nähe .\n",
      "\n",
      "\t EN (TRUE):Hotel Sempione welcomes you to a busy yet quiet area of Milan , within walking distance of excellent transport links , including the central railway station and the Repubblica metro station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is a great choice for a relaxing stay in the heart of the city , just a few minutes away from the city centre . </s> \n",
      "\n",
      "DE:  In dem traditionellen Fischerdorf werden ausländische Gäste sehr herzlich empfangen . Seien Sie allerdings gewarnt vor dem Zustand der Strasse und fahren Sie vorsichtig !\n",
      "\n",
      "\t EN (TRUE):It &apos;s a small traditional fishing village , with friendly locals , always very welcoming to British tourists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a great place to enjoy a drink in the hotel ’ s restaurant , where you can enjoy a drink in the bar . </s> \n",
      "\n",
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city centre , just a few minutes from the city centre and the <unk> shopping area . </s> \n",
      "\n",
      "DE:  Genießen Sie hier in gemütlicher Atmosphäre ein kühles Kölsch oder einen erfrischenden Cocktail .\n",
      "\n",
      "\t EN (TRUE):Enjoy a local beer or refreshing cocktail in a cosy atmosphere .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can enjoy a drink in the hotel ’ s room , a bar and a bar . </s> \n",
      "\n",
      "DE:  Nach einigen Wanderwochen erreichten ich und Celina Warschau . Auf dem Weg zum jüdischen Komitee begegnete ich auf der Straße meinem Bruder !\n",
      "\n",
      "\t EN (TRUE):It turned out that Marek had jumped from the window of a train moving to Majdanek .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Baustelle zwischen See und Hotel . Altmodische Einrichtung .\n",
      "\n",
      "\t EN (TRUE):Shared lobby with campsite next door , apparently , and hotel check in / out were not handled by lobby staff but by restaurant staff .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city centre . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The most important thing is the most important part of the world . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged USD 30 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Obwohl das Nazi ##AT##-##AT## Regime die Buddhistische Gemeinde in Berlin , die seit 1936 aktiv gewesen war , schloss und kurzzeitig deren Begründer Martin Steinke 1941 inhaftierte , verfolgte es die Buddhisten nicht generell .\n",
      "\n",
      "\t EN (TRUE):Although the Nazi regime closed the Buddhistische Gemeinde ( Buddhist Society ) in Berlin , which had been active from 1936 , and briefly arrested its founder Martin Steinke in 1941 , they generally did not persecute Buddhists .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a new <unk> , which is the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Ziel von 50 ##AT##-##AT## Hand Video Poker ist ähnlich zu dem von Video Poker : eine Pokerhand mit fünf Karten , die mindestens die niedrigste Kombination von dem Spieltisch , an dem Sie sich gerade befinden , zu erlangen .\n",
      "\n",
      "\t EN (TRUE):The object of 50 ##AT##-##AT## Hand Video Poker is similar to Video Poker , to obtain a five ##AT##-##AT## card poker hand that contains at least the lowest combination on the pay table for the version you are playing .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> release , which is available in the <unk> <unk> , which is the first step for the <unk> <unk> , which is the first step for the <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1944401318886324\n",
      "=====================================================\n",
      ".....Step  86500\n",
      "Actual: NI Requirements Gateway is ideal for applications that simulate or test complex components against documented requirements in industries such as automotive , aerospace , defense , and consumer electronics . </s> \n",
      "\n",
      "Predicted: The <unk> Gateway is a for the , are the high , development , the and , the and as the and aerospace , and and and other electronics . </s> \n",
      "(Train) BLEU (560 elements):  0.36419920598515104\n",
      ".....Step  87000\n",
      "Actual: Balinese is linguistically distinct from <unk> Indonesia , although the Indonesian lingua franca is spoken by practically everybody . In touristy regions , English and some other foreign languages are widely spoken . </s> \n",
      "\n",
      "Predicted: The , a <unk> , the , <unk> <unk> the <unk> <unk> is in a by the the . </s> \n",
      "(Train) BLEU (440 elements):  0.35146641454310273\n",
      "============= Step  87000  =============\n",
      "\t Loss:  0.7703221150785684\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and comfortable . </s> \n",
      "\n",
      "DE:  1 Nun ließ der Herr , Gott , die Hungersnot im Land Ur so schwer werden , daß a Haran , mein Bruder , starb ; aber b Terach , mein Vater , lebte noch im Land Ur der Chaldäer .\n",
      "\n",
      "\t EN (TRUE):1 Now the Lord God caused the a famine to wax sore in the land of Ur , insomuch that b Haran , my brother , died ; but c Terah , my father , yet lived in the land of Ur , of the Chaldees .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 1 Behold , I say unto you , that I will a forgive the Lord , and the Lord , and the Lord of Hosts , and the b <unk> of the Lord , and the c <unk> of the Lord , and the c <unk> of the Lord , and the d <unk> of the Lord , and the \n",
      "\n",
      "DE:  Das ist viel einfacher ... Nein , streiten Sie nicht mit mir ... es ist einfacher ... ach , wie auch immer !\n",
      "\n",
      "\t EN (TRUE):This is far more easy ... no , don &apos;t argue with me ... it is easier ... ah whatever !\n",
      "\n",
      "\n",
      "\t EN (Predicted): I am <unk> , <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I use the latest version ? </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the following version of the <unk> . </s> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very friendly and helpful . </s> \n",
      "\n",
      "DE:  Hotelparkplätze sind gegen eine kleine Gebühr vorhanden .\n",
      "\n",
      "\t EN (TRUE):Car Parking is available at the hotel at a small charge . ( check in advance as spaces are limited and certain conditions apply ) .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The &quot; <unk> &quot; is a &quot; <unk> &quot; ( &quot; <unk> &quot; ) , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I have a lot of time to the <unk> , but it is not a problem . </s> \n",
      "\n",
      "DE:  Das Personal war immer hilfsbereit und freundlich .\n",
      "\n",
      "\t EN (TRUE):The location and helpfulness of staff was excellent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very friendly and helpful . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.19111911141743074\n",
      "=====================================================\n",
      ".....Step  87500\n",
      "Actual: All cancellations that occur after 3 : 00 PM ( hotel time ) the day before arrival will be charged one night . </s> \n",
      "\n",
      "Predicted: The the of are on the days 00 , , 12 ) ) , total will arrival . be charged . . . </s> \n",
      "(Train) BLEU (420 elements):  0.3603679194562052\n",
      ".....Step  88000\n",
      "Actual: featuring DJ &apos;s spinning classic alternative music ( <unk> , <unk> , freaks ) , Thursday is Ground Control , featuring some of the best DJ &apos;s in the city spinning classic and positive hip hop ( <unk> unite ! ! ) , the weekend features top 40 and a jukebox too . </s> \n",
      "\n",
      "Predicted: <unk> a &apos;s <unk> <unk> , to , <unk> ) <unk> ) <unk> , , <unk> <unk> a , , <unk> a of the best way &apos;s most the world . . and <unk> <unk> ##AT##-##AT## . <unk> ) to </s> \n",
      "(Train) BLEU (490 elements):  0.3587229026410667\n",
      "============= Step  88000  =============\n",
      "\t Loss:  0.7556727240234613\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "\t EN (TRUE):Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the world , and the new version of the <unk> ® is the first time to the <unk> <unk> , which is the most popular version of the world , and the new version of the <unk> <unk> is a new version of the world . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Das Hotel Opera befindet sich in der Nähe des Royal Theatre , Kongens Nytorv , &apos; Stroget &apos; und Nyhavn .\n",
      "\n",
      "\t EN (TRUE):Hotel Opera is situated near The Royal Theatre , Kongens Nytorv , &quot; Strøget &quot; and fascinating Nyhavn .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city , just a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  Residenz City Lodge befindet sich am mandelförmigen Sweelinckplein im Herzen des schicken Duinoord ##AT##-##AT## Viertels in Den Haag .\n",
      "\n",
      "\t EN (TRUE):In the midst of the bustling city life , an oasis of peace and luxury can be found bordering the beautiful Haagsche Park , across from the main train station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "DE:  Wenn eine Speicherung der Daten auf dem Client erfolgen soll , werden Cookys verwendet .\n",
      "\n",
      "\t EN (TRUE):When client data storage is needed , cookies are used .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If you use the <unk> <unk> , you can use the same name . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , which is the best ##AT##-##AT## known ##AT##-##AT## to ##AT##-##AT## use ##AT##-##AT## in ##AT##-##AT## time ##AT##-##AT## time . </s> \n",
      "\n",
      "DE:  Das Haus liegt in der CCZ ##AT##-##AT## Umweltzone und bietet eine sehr gute Anbindung an das Bus- und U ##AT##-##AT## Bahnnetz .\n",
      "\n",
      "\t EN (TRUE):Set inside the central London congestion ##AT##-##AT## charging zone , this modern hotel has superb transport links , with access to the Tube and the bus network practically on the doorstep .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a great place to enjoy a wide range of activities and restaurants . </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Das Cleddau Bridge Hotel ist der ideale Platz um zu entspannen oder geschäftlich zu reisen .\n",
      "\n",
      "\t EN (TRUE):Cleddau Bridge hotel is the ideal place for those who want a relaxing holiday or who travel for business .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city , just a few minutes away from the hotel . </s> \n",
      "\n",
      "DE:  Softwaretools wie zum Beispiel der NI Analog Waveform Editor , das NI Modulation Toolkit und LabVIEW helfen Anwendern , die Entwicklungszeit von Prüfsystemen zu verringern und gleichzeitig flexibel auf die sich ändernden Anwendungsanforderungen zu reagieren .\n",
      "\n",
      "\t EN (TRUE):Software tools such as the NI Analog Waveform Editor , Modulation Toolkit and LabVIEW , help reduce your test system development time while also having the flexibility to meet your changing application requirements .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The NI LabVIEW Real ##AT##-##AT## Time Module is a powerful tool for the NI <unk> ##AT##-##AT## <unk> , which provides a wide range of applications and software components . </s> \n",
      "\n",
      "DE:  Bei den romanischen Völkern paart sich die effektive Ohnmacht mit lächerlicher Anmaßung .\n",
      "\n",
      "\t EN (TRUE):To material weakness the Latin countries add a quite fantastic pretentiousness .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.2051686591492856\n",
      "=====================================================\n",
      ".....Step  88500\n",
      "Actual: A night in a Madrid hotel will cost you anywhere from 60 euros on up . </s> \n",
      "\n",
      "Predicted: <unk> new is the wide apartment is be the to in the to . the to </s> \n",
      "(Train) BLEU (540 elements):  0.3541837683488986\n",
      ".....Step  89000\n",
      "Actual: What do we mean when we say the SDSS will map the universe ? To the SDSS , mapping means measuring the positions and properties of all the 100 million celestial objects its telescope can adequately observe : over one ##AT##-##AT## quarter of the northern sky . </s> \n",
      "\n",
      "Predicted: The is not have that the have , <unk> , not the <unk> , </s> \n",
      "(Train) BLEU (400 elements):  0.3461582348862869\n",
      "============= Step  89000  =============\n",
      "\t Loss:  0.7497382800281048\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Das Hotel Sempione verfügt über eine ideale , ruhige Lage in einem geschäftigen Viertel mit guter Verkehrsanbindung . Der Bahnhof und eine U ##AT##-##AT## Bahnstation liegen in der Nähe .\n",
      "\n",
      "\t EN (TRUE):Hotel Sempione welcomes you to a busy yet quiet area of Milan , within walking distance of excellent transport links , including the central railway station and the Repubblica metro station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is a great choice for a relaxing stay in the heart of the city , just a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  Das Hotel Opera befindet sich in der Nähe des Royal Theatre , Kongens Nytorv , &apos; Stroget &apos; und Nyhavn .\n",
      "\n",
      "\t EN (TRUE):Hotel Opera is situated near The Royal Theatre , Kongens Nytorv , &quot; Strøget &quot; and fascinating Nyhavn .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city centre . </s> \n",
      "\n",
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is very close to the city centre . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartments in Conil de la Frontera is a great place to rent for rent . </s> \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "DE:  Nachfolgend sehen Sie die Gästebewertungen von Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\t EN (TRUE):The guest reviews are submitted by our customers after their stay at Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The guest reviews are submitted by our customers after their stay at <unk> <unk> Hotel . </s> \n",
      "\n",
      "DE:  Zusätzlich enthält TBarCode / SAPwin eine Menge neuer Strichcode ##AT##-##AT## Symbologien .\n",
      "\n",
      "\t EN (TRUE):In addition TBarCode / SAPwin comes with a bunch of new bar code symbologies .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the PXI ##AT##-##AT## <unk> for the <unk> . </s> \n",
      "\n",
      "DE:  Das Athens Gate Hotel liegt unterhalb der Akropolis nur 100 m vom neuen Akropolis ##AT##-##AT## Museum entfernt .\n",
      "\n",
      "\t EN (TRUE):The Athens Gate Hotel rests under the Acropolis , just 100 metres from the new Acropolis museum .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is a 5 ##AT##-##AT## star hotel in the centre of the city . </s> \n",
      "\n",
      "DE:  Bei einer digitalen Bildkette wird das Intensitätssignal für jedes Pixel ohne analoge Zwischenschritte direkt in der Detektoreinheit digitalisiert , d.h. in Zahlen umgewandelt .\n",
      "\n",
      "\t EN (TRUE):A digital image chain is an image chain that is equipped with a digital detector instead of an analogue one .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Bamberg , die &quot; Traumstadt der Deutschen &quot; , seine aufgeschlossenen Menschen und seine romantische Umgebung wird auch Sie begeistern , denn sie bietet für jeden etwas .\n",
      "\n",
      "\t EN (TRUE):The beauty and rich cultural life of this town can be enjoyed at any time of year . Soak up the summer sun whilst relaxing at one of the many sidewalk cafés in the historic old town or savour a cool beer beneath a shady chestnut tree in one of the popular beer gardens .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18521293127398014\n",
      "=====================================================\n",
      ".....Step  89500\n",
      "Actual: 11 Mine indignation is soon to be poured out without measure upon all nations ; and this will I do when the cup of their iniquity is a full . </s> \n",
      "\n",
      "Predicted: 13 I I , a as be a unto of a to the the , and they is be have not they Lord of my sins shall not <unk> of </s> \n",
      "(Train) BLEU (530 elements):  0.36161672469412764\n",
      ".....Step  90000\n",
      "Actual: Situated on Vico Alto &apos;s hill , this hotel offers fantastic panoramic views over the beautiful city of Siena . </s> \n",
      "\n",
      "Predicted: The in the the , beautiful , the hotel is a views views of the sea gardens of the . </s> \n",
      "(Train) BLEU (520 elements):  0.35714537665561535\n",
      "============= Step  90000  =============\n",
      "\t Loss:  0.7624786552339792\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Mag sein , dass du deine ersten Gehversuche in einem rostigen , undichten Kahn beginnst - aber mit der Zeit wirst du dich zum schnittigen Speedboat oder edlen Katamaran vorarbeiten .\n",
      "\n",
      "\t EN (TRUE):You may be starting in a ramshackle old tub of a boat , but in no time at all you &apos;ll be able to buy a fancy speedboat , or a classy catamaran . Turn your newfound fame into money , and spend it to buy lavish new homes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the Skype to use the Skype to use the Skype Software to use the Skype Software or website . </s> \n",
      "\n",
      "DE:  Leicht und ergonomisch gebaut , mit einer Hand zu bedienen , stellen diese Messgeräte eine wirtschaftliche Lösung dar , wenn bei Verdacht auf Wanddickenverlust schnell geprüft werden soll .\n",
      "\n",
      "\t EN (TRUE):Lightweight and ergonomically designed for easy one ##AT##-##AT## hand operation , these gages provide cost ##AT##-##AT## effective measurement solutions in many applications that require quick inspection of materials suspected of metal wall thinning .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I do not have a free ? </s> \n",
      "\n",
      "DE:  Da jedes SCXI ##AT##-##AT## Modul die Signale auf einen einzigen Kanal des Datenerfassungsmoduls multiplext , lassen sich problemlos weitere Module hinzufügen , was für eine höhere Kanalanzahl sorgt .\n",
      "\n",
      "\t EN (TRUE):It can multiplex its signals into a single channel of the DAQ device , and you can add modules to increase channel count .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The NI <unk> is a powerful tool for the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Nachfolgend sehen Sie die Gästebewertungen von Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\t EN (TRUE):The guest reviews are submitted by our customers after their stay at Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The guest reviews are submitted by our customers after their stay at <unk> <unk> Hotel . </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Alle älteren Kinder oder Erwachsene zahlen EUR 32,00 pro Übernachtung und Person für Zustellbetten .\n",
      "\n",
      "\t EN (TRUE):All older children or adults are charged EUR 32.00 per night and person for extra beds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All older children or adults are charged EUR 15 <unk> per night and person for extra beds . </s> \n",
      "\n",
      "DE:  Im Fall Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) beteiligte sich die Mehrheit an einer umfangreichen Kritik an Flook und entschied , dass dieses Gericht irrt � mlicherweise � verschiedene gesetzliche Vorkehrungen , die begrifflich ohne Zusammenhang seien � , vermischt h � tte . Id . , unter 959 , 201 USPQ at 360 .\n",
      "\n",
      "\t EN (TRUE):In In re Bergy , 596 F.2d 952 , 201 USPQ 352 ( CCPA 1979 ) , the majority engaged in an extensive critique ofFlook , concluding that this Court had erroneously commingled � distinct statutory provisions which are conceptually unrelated . � Id . , at 959 , 201 USPQ at 360 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "\t EN (TRUE):First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18539091886423167\n",
      "=====================================================\n",
      ".....Step  90500\n",
      "Actual: Message not passed on which had been left whilst we were on an outing , which resulted in us not meeting people we had travelled to Adelaide to visit . </s> \n",
      "\n",
      "Predicted: The <unk> to to the we been a on the had not the early . but was in the . . . . were to to be . the the </s> \n",
      "(Train) BLEU (480 elements):  0.34722104525098435\n",
      ".....Step  91000\n",
      "Actual: Everything <unk> my <unk> for 2 ##STAR## hotel . Location , <unk> of room and friendly staff . </s> \n",
      "\n",
      "Predicted: The was was room , the people <unk> . </s> \n",
      "(Train) BLEU (470 elements):  0.36400979069265216\n",
      "============= Step  91000  =============\n",
      "\t Loss:  0.7496921254396438\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very friendly and helpful . </s> \n",
      "\n",
      "DE:  Man schließt die Gitarre über Mikrofon oder Pickup an die PC Soundkarte an und schon kann es losgehen .\n",
      "\n",
      "\t EN (TRUE):You connect the guitar via microphone or pickup with the PC soundcard and you are ready !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> <unk> <unk> ( <unk> ) , which is a bit of a few minutes . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Dieses 4 ##AT##-##AT## Sterne ##AT##-##AT## Landhotel aus dem 18. Jahrhundert inmitten einer ländlichen Umgebung ist nur eine kurze Fahrt vom Stadtzentrum von Londonderry und vom örtlichen Flughafen entfernt .\n",
      "\n",
      "\t EN (TRUE):This 4 ##AT##-##AT## star 18th century country house hotel is situated in the countryside , just a short drive from Derry city centre and within reach of the City of Derry Airport .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city centre , just a few minutes from the city centre and the main railway station and the main railway station . </s> \n",
      "\n",
      "DE:  Länge : 11,28m ; Breite : 3,66m ; Tiefgang : 0,30m ; Bj.2006 ; Liegeplatz : River Dart , Großbritannien ; 2 Motor ( en ) ; Volvo D4 260hp ; Description : The Bavaria Sport is a really impressive boat ...\n",
      "\n",
      "\t EN (TRUE):Length : 11.40m ( ~ 37.40 ft ) ; Beam : 3.68m ; Draft : 0.90m ; built 2005 ; Location : Orsera Nautika / Kroatien ##AT##-##AT## Vrsar , Croatia ( Hrvatska ) ; 2 Engine / manufac . ; Volvo Penta 5,7 GXI ; 478kW ; 430 Engine Hours ; Weight : 6.800kg ; Neues Raymarine C70 , verlängerte Badeplattform mit Staufächern , Kühlschr ...\n",
      "\n",
      "\n",
      "\t EN (Predicted): : 1 : <unk> ) , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , <unk> , \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the following version of the <unk> . </s> \n",
      "\n",
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the Best Western Hotel <unk> ? </s> \n",
      "\n",
      "DE:  Wünschen Sie Unterstützung bei der der Zentrensuche ?\n",
      "\n",
      "\t EN (TRUE):Would you like being assisted in searching a specialised centre ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can find the answers to be found in the future . </s> \n",
      "\n",
      "DE:  Kosten Sie mediterrane Gerichte im preisgekrönten Restaurant Molyvos .\n",
      "\n",
      "\t EN (TRUE):Enjoy award winning Mediterranean cuisine at Molyvos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Restaurant , the restaurant serves delicious breakfast buffet . </s> \n",
      "\n",
      "DE:  &quot; Die Letzte Droge &quot; wird , wie auch Route 66 , unter einer Creative Commons ##AT##-##AT## Lizenz veröffentlicht - Kopieren , Aufführen und Verändern ist diesmal auch zu kommerziellen Zwecken gestattet und erwünscht !\n",
      "\n",
      "\t EN (TRUE):We will release The Last Drug under a Creative Commons BY SA License , making it the first free HD feature film . All footage , project files , sounds and special effects will be available for those of you that are eager to get hands on experience on the first Open Source feature film project ever or for those that are able to turn it into something different .\n",
      "\n",
      "\n",
      "\t EN (Predicted): &quot; The <unk> &quot; is a new tool for the <unk> <unk> , which is the most important and the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.19895206962158166\n",
      "=====================================================\n",
      ".....Step  91500\n",
      "Actual: That is not so . There is a parking area 5 minutes walk away , but it is not owned by the hotel - nevertheless that the hotel signs are still there ! </s> \n",
      "\n",
      "Predicted: The is a a much </s> \n",
      "(Train) BLEU (460 elements):  0.3677145699621937\n",
      ".....Step  92000\n",
      "Actual: Right now , African philosophy still seems to be equated with traditional African philosophy . </s> \n",
      "\n",
      "Predicted: The the is the , is is to be a . the English . . </s> \n",
      "(Train) BLEU (420 elements):  0.3502160472134029\n",
      "============= Step  92000  =============\n",
      "\t Loss:  0.7541344771683216\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  34 Diese a Worte sind wahr und treu ; darum übertretet sie nicht , und b nehmt auch nichts davon weg .\n",
      "\n",
      "\t EN (TRUE):34 These sayings are a true and faithful ; wherefore , transgress them not , neither b take therefrom .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 33 ) , I will not be a a <unk> , and the b <unk> of the Lord shall be b <unk> . </s> \n",
      "\n",
      "DE:  Das Hotel Opera befindet sich in der Nähe des Royal Theatre , Kongens Nytorv , &apos; Stroget &apos; und Nyhavn .\n",
      "\n",
      "\t EN (TRUE):Hotel Opera is situated near The Royal Theatre , Kongens Nytorv , &quot; Strøget &quot; and fascinating Nyhavn .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is located in the heart of the city centre . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All apartments in the <unk> Hotel , in the centre of the Costa del Sol , in the <unk> Hotel . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The user is the most important part of the <unk> . </s> \n",
      "\n",
      "DE:  Die drei GewinnerInnen jeder Kategorie - insgesamt 12 SchülerInnen in Begleitung ihrer koordinierenden Lehrperson - werden zur &quot; Energie ist unsere Zukunft &quot; Preisverleihung nach Brüssel eingeladen .\n",
      "\n",
      "\t EN (TRUE):The top three winners of each category , a total of 12 , together with their coordinating teachers , will be rewarded with a trip to Brussels to attend the “ Energy is our Future ” Awards ceremony .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the <unk> <unk> , which is the best way to get a new version of the <unk> . </s> \n",
      "\n",
      "DE:  Nachfolgend sehen Sie die Gästebewertungen von Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\t EN (TRUE):The guest reviews are submitted by our customers after their stay at Meliá Fernán González Boutique hotel .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The guest reviews are submitted by our customers after their stay at <unk> Hotel . </s> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The most important thing is the most important part of the world . </s> \n",
      "\n",
      "DE:  Kosten Sie mediterrane Gerichte im preisgekrönten Restaurant Molyvos .\n",
      "\n",
      "\t EN (TRUE):Enjoy award winning Mediterranean cuisine at Molyvos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Restaurant , the hotel ’ s restaurant serves a wide range of international cuisine . </s> \n",
      "\n",
      "DE:  Einst verwunschene Eilande , später Schlupfwinkel von Piraten , welche die goldbeladenen Schiffe der Spanier überfielen , sind diese unwirtlichen Inseln mit dem seltsamen Tierleben heute wohl eines der letzten großen Tierparadiese der Welt .\n",
      "\n",
      "\t EN (TRUE):Apart from its beautiful beaches and unique and varied ecosystems , the Galapagos Islands are home to towering active volcanoes that reach altitudes up to 1,600 meters .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the heart of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18597060051953337\n",
      "=====================================================\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      ".....Step  92500\n",
      "Actual: too much noise during the dinner , sometimes when babies are at table with their parents . Even if I like <unk> I don &apos;t find normal to bother adults who need to have a break in their busy life . </s> \n",
      "\n",
      "Predicted: The small more from the day and we <unk> we was very the . the own . </s> \n",
      "(Train) BLEU (410 elements):  0.33876807577148266\n",
      ".....Step  93000\n",
      "Actual: The pool complex was lovely . <unk> service excellent . </s> \n",
      "\n",
      "Predicted: The hotel was is very , </s> \n",
      "(Train) BLEU (450 elements):  0.3623274454857668\n",
      "============= Step  93000  =============\n",
      "\t Loss:  0.7575087679177522\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Je mehr Zeit wir mit Gilad und dem Rest des Teams in Israel verbracht haben ( um nicht den lauten Hahn zu erwähnen der schreiend bei denen über den Campus rennt ) desto überzeugter waren wir – zusammen können wir mehr bewegen .\n",
      "\n",
      "\t EN (TRUE):The more time we spent with Gilad as well as the rest of the team in Israel ( not to mention the very loud rooster that runs around in their campus ) , the more convinced we all became - we ’ ll be better off together .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a member of the <unk> <unk> , which is the first ##AT##-##AT## class ##AT##-##AT## largest ##AT##-##AT## class service , which is the largest ##AT##-##AT## class market leader in the world , and the <unk> of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The user is used to be used by the <unk> ( <unk> ) , which is not supported by the <unk> ( <unk> ) . </s> \n",
      "\n",
      "DE:  Niedrigere Preise durch mehr Wettbewerb . Die Kosten für Kapital können durch Währungsstabilität , niedrigere Zinssätze und eine bessere Organisation der Kapitalmärkte gesenkt werden .\n",
      "\n",
      "\t EN (TRUE):In a knowledge ##AT##-##AT## based society the opportunity of education is the key to progress and equality and sustainability .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All the most recent years are available in the area of the <unk> , and the <unk> are available in the USA . </s> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I do not have a free ? </s> \n",
      "\n",
      "DE:  aufgerufen wird , fügt Sie die Flash Nachricht &quot; Eintrag gespeichert !\n",
      "\n",
      "\t EN (TRUE):is called , it adds the flash message &quot; Record Saved !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the following version of the <unk> . </s> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "DE:  Mitglieder geniessen viele zus � tzliche Leistungen wie optimierter Sicherheit , schnelleren Auszahlungszeiten und der Aufhebung von Kreditkarteneinzahlungslimits .\n",
      "\n",
      "\t EN (TRUE):Members enjoy a range of perks including enhanced security and protection , faster withdrawals and increased credit card deposit limits .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new tool for the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged USD 30 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a variety of different types of different types of different types . </s> \n",
      "\n",
      "DE:  in dieser Option ermöglicht , Dateien relativ zum aktuellen Verzeichnis einzubinden .\n",
      "\n",
      "\t EN (TRUE):in the include path allows for relative includes as it means the current directory . However , it is more efficient to explicitly use include &apos; . / file &apos; than having PHP always check the current directory for every include .\n",
      "\n",
      "\n",
      "\t EN (Predicted): ) , the only thing is not specified . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1948855764660768\n",
      "=====================================================\n",
      ".....Step  93500\n",
      "Actual: Built in mid 18th century , the Hotel d &apos; <unk> is a particular charming hotel in the heart of Geneva , offering you completely renovated rooms and duplex suites . </s> \n",
      "\n",
      "Predicted: This in the ##AT##-##AT## century , this hotel <unk> <unk> <unk> &apos; situated modern renovation hotel in the heart of the , in a a renovated rooms , suites well . </s> \n",
      "(Train) BLEU (360 elements):  0.3599618944560797\n",
      ".....Step  94000\n",
      "Actual: Our stay has been satisfactory , and we will spend another vacation in Madrid at your hotel . </s> \n",
      "\n",
      "Predicted: The hotel in been very and the the have find a time in the , the doorstep . </s> \n",
      "(Train) BLEU (570 elements):  0.3651156757635535\n",
      "============= Step  94000  =============\n",
      "\t Loss:  0.7612339942902326\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Das Hotel Sempione verfügt über eine ideale , ruhige Lage in einem geschäftigen Viertel mit guter Verkehrsanbindung . Der Bahnhof und eine U ##AT##-##AT## Bahnstation liegen in der Nähe .\n",
      "\n",
      "\t EN (TRUE):Hotel Sempione welcomes you to a busy yet quiet area of Milan , within walking distance of excellent transport links , including the central railway station and the Repubblica metro station .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The Hotel <unk> is a modern 4 ##AT##-##AT## star hotel in the heart of the city , just a few minutes from the city centre . </s> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 20 But behold , the a <unk> of the Lord shall be a <unk> , and the b <unk> of the Lord , and the c <unk> of the Lord , and the d <unk> of the Lord , and the d <unk> of the Lord , and the d <unk> . </s> \n",
      "\n",
      "DE:  Unsere kürzlich renovierten Ferienwohnungen zur Selbstversorgung in Obertraun sind weniger als eine Gehminute vom Ufer des Hallstätter Sees entfernt .\n",
      "\n",
      "\t EN (TRUE):Enjoy a warm and friendly welcome at the Obertrauner Hof , located at the heart of the tranquil village of Obertraun in the Salzkammergut , a delightful 10 ##AT##-##AT## minute walk from the lakeside .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Our apartments are located in the <unk> <unk> , in the <unk> section , in the <unk> section . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartments in Conil de la Frontera is a great place to rent for rent in Conil . </s> \n",
      "\n",
      "DE:  Es war staubig , das Bad schmutzig . Sogar die Beleuchtung an der Wand im Flur ( Seitengebäude ) war richtig verstaubt .\n",
      "\n",
      "\t EN (TRUE):It was rather old fashioned in the decoration .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Wann möchten Sie im Leon &apos; s Place Hotel In Rome übernachten ?\n",
      "\n",
      "\t EN (TRUE):When would you like to stay at the Leon &apos;s Place Hotel In Rome ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): When would you like to stay at the Best Western Hotel <unk> ? </s> \n",
      "\n",
      "DE:  Zusätzlich enthält TBarCode / SAPwin eine Menge neuer Strichcode ##AT##-##AT## Symbologien .\n",
      "\n",
      "\t EN (TRUE):In addition TBarCode / SAPwin comes with a bunch of new bar code symbologies .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the <unk> <unk> to the <unk> . </s> \n",
      "\n",
      "DE:  Tux Racer wird Ihnen helfen , die Zeit totzuschlagen und sie können OpenOffice zum Arbeiten verwenden .\n",
      "\n",
      "\t EN (TRUE):Tux Racer will help you pass the time while you wait , and you can use OpenOffice for work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new version of the <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Jeder Wikitraveler kann Artikel verändern , neue Seiten erstellen und sogar Informationen über die Seite selbst überschreiben .\n",
      "\n",
      "\t EN (TRUE):Any Wikitraveller can change articles , rewrite navigation areas , even overwrite information about the site itself .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the following version of the <unk> , and then it is possible to download the update . </s> \n",
      "\n",
      "DE:  William Gross beschreibt die Bedeutung des Manuskripts für die Sammlung der Familie Gross .\n",
      "\n",
      "\t EN (TRUE):William Gross describes the significance of the manuscript to the Gross Family Collection .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.19467897354736824\n",
      "=====================================================\n",
      ".....Step  94500\n",
      "Actual: At any rate , a closer look at <unk> might be of some help in determining what the more refined forms of <unk> trauma theories really are about in terms of <unk> <unk> <unk> . </s> \n",
      "\n",
      "Predicted: But the time , the <unk> to to the , be a the of , the , they people important , of the , , , , not the the of the . . . </s> \n",
      "(Train) BLEU (490 elements):  0.3509305875771422\n",
      ".....Step  95000\n",
      "Actual: Certainly , there is change at the level of perception or publicity , but I don &apos;t think we can yet speak of some fundamental break . </s> \n",
      "\n",
      "Predicted: In the I is a to the same of the , a of but the have &apos;t know that have &apos;t not to the of , , </s> \n",
      "(Train) BLEU (510 elements):  0.34755369801064734\n",
      "============= Step  95000  =============\n",
      "\t Loss:  0.7535895535200834\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Heute verstehen sich QuarkXPress ® 8 , Photoshop ® und Illustrator ® besser als jemals zuvor . Dank HTML und CSS ­ können Anwender von QuarkXPress inzwischen alle Medien bedienen , und das unabhängig von Anwendungen der Adobe ® Creative Suite ® wie Adobe Flash ® ( SWF ) und Adobe Dreamweaver ® .\n",
      "\n",
      "\t EN (TRUE):Today , QuarkXPress ® 8 has tighter integration with Photoshop ® and Illustrator ® than ever before , and through standards like HTML and CSS , QuarkXPress users can publish across media both independently and alongside Adobe ® Creative Suite ® applications like Adobe Flash ® ( SWF ) and Adobe Dreamweaver ® .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a new version of the world , and the new version of the <unk> ® is the first time to the <unk> <unk> , which is the first time to the <unk> <unk> , which is the first step for the <unk> <unk> . </s> \n",
      "\n",
      "DE:  1 Nun ließ der Herr , Gott , die Hungersnot im Land Ur so schwer werden , daß a Haran , mein Bruder , starb ; aber b Terach , mein Vater , lebte noch im Land Ur der Chaldäer .\n",
      "\n",
      "\t EN (TRUE):1 Now the Lord God caused the a famine to wax sore in the land of Ur , insomuch that b Haran , my brother , died ; but c Terah , my father , yet lived in the land of Ur , of the Chaldees .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 1 But behold , I say unto you , that I will not have a a <unk> , and b <unk> , and the b <unk> of the Lord , and the c <unk> of the Lord , and the d <unk> of the Lord , and the d <unk> of God . </s> \n",
      "\n",
      "DE:  Niedrigere Preise durch mehr Wettbewerb . Die Kosten für Kapital können durch Währungsstabilität , niedrigere Zinssätze und eine bessere Organisation der Kapitalmärkte gesenkt werden .\n",
      "\n",
      "\t EN (TRUE):In a knowledge ##AT##-##AT## based society the opportunity of education is the key to progress and equality and sustainability .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All the best possible to use the <unk> of the <unk> Group , and the <unk> is a great place for the <unk> . </s> \n",
      "\n",
      "DE:  shower was ok but leaked needed updating .\n",
      "\n",
      "\t EN (TRUE):the response to to requests was poor , phone 3 time for milk in the room over 4 hours .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "DE:  Genießen Sie das ganze Jahr über die Sonne und erfrischen Sie sich im Außenpool , während Ihre Kinder sicher in ihren eigenen Schwimmbecken spielen .\n",
      "\n",
      "\t EN (TRUE):Soak up the year ##AT##-##AT## round sunshine as you enjoy a dip in one of the outdoor swimming pools , as children play safely in their own pools .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also enjoy a drink in the bar , where you can enjoy a drink in the bar . </s> \n",
      "\n",
      "DE:  Booking.com : Best Western Hotell SöderH , Söderhamn , Schweden - 29 Gästebewertungen .\n",
      "\n",
      "\t EN (TRUE):Booking.com : Best Western Hotell SöderH , Söderhamn , Sweden - 29 Guest reviews .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Booking .com : hotel <unk> <unk> <unk> , <unk> <unk> . </s> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The most important thing is the most important part of the world . </s> \n",
      "\n",
      "DE:  Ein älteres Kind oder Erwachsener zahlt USD 23,40 pro Übernachtung in einem der vorhandenen Betten .\n",
      "\n",
      "\t EN (TRUE):One older child or adult is charged USD 23.40 per night when using existing bedding .\n",
      "\n",
      "\n",
      "\t EN (Predicted): One older child or adult is charged USD 30 <unk> per night and person in an extra bed . </s> \n",
      "\n",
      "DE:  Zimmerbeschreibung : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\t EN (TRUE):Room Notes : Our Castle Deluxe Rooms are traditionally themed with rich luxurious fabrics and furnishings , many with excellent views over the Castle grounds .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Room Notes : The <unk> Hotel in <unk> is located in the heart of the city , in the centre of the city , in the centre of the city . </s> \n",
      "\n",
      "DE:  Einige der ursprünglichen Charakteristika des Gebäudes - wie beispielsweise die einzigartige denkmalgeschützte Fassade und die bezaubernde Innenausstattung der Bar ##AT##-##AT## Bodega De Blauwe Parde - wurden bis heute bewahrt .\n",
      "\n",
      "\t EN (TRUE):Some unchanged features include the unique frontage , which has listed building status , and also the unique interior of De Blauwe Parade bar ##AT##-##AT## bodega .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel is located in the centre of the city , in the heart of the city , in the heart of the city , in the heart of the city . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.2053992542854457\n",
      "=====================================================\n",
      ".....Step  95500\n",
      "Actual: Additionally , Microsoft has already released most of the contents of this update <unk> as individual updates and <unk> . </s> \n",
      "\n",
      "Predicted: In , the ® been been for of the software of the website , , well versions . the . </s> \n",
      "(Train) BLEU (440 elements):  0.35616714945771644\n",
      ".....Step  96000\n",
      "Actual: <unk> Manor Park , Warwick Castle , <unk> World and <unk> &apos;s <unk> are only a short distance away . </s> \n",
      "\n",
      "Predicted: The Hotel , Hotel the , , <unk> <unk> Heritage <unk> , <unk> . the a few walk from from </s> \n",
      "(Train) BLEU (480 elements):  0.3527427037651428\n",
      "============= Step  96000  =============\n",
      "\t Loss:  0.748018828958273\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Ideale Lage für Exkursionen in die Stadt und Nähe zur Promenade .\n",
      "\n",
      "\t EN (TRUE):There was plenty of space in the room and a nice garden to sit and have a drink and smoke .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  Google nimmt niemals Geld für die Einbeziehung oder das Ranking von Websites und die Schaltung in den indexbasierten Suchergebnissen ist kostenlos .\n",
      "\n",
      "\t EN (TRUE):Google never accepts money to include or rank sites in our search results , and it costs nothing to appear in our organic search results .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can use the Skype to use the Skype to use the Skype to use the Skype Software to use the Site . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Quiet and clean room ( on the 4th floor ) with the view on the Dome .\n",
      "\n",
      "\t EN (TRUE):And it is value for money .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  Ferienwohnungen erste Strandlinie . Dachwohnung in Conil de la Frontera , Cadiz .\n",
      "\n",
      "\t EN (TRUE):Located at the foot of the beach , this Conil beach apartment rentals , Spain is perfect for your summer vacation in Conil de la Frontera .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Holiday apartments in Conil de la Frontera , Cadiz , Spain , Spain . </s> \n",
      "\n",
      "DE:  Genießen Sie das ganze Jahr über die Sonne und erfrischen Sie sich im Außenpool , während Ihre Kinder sicher in ihren eigenen Schwimmbecken spielen .\n",
      "\n",
      "\t EN (TRUE):Soak up the year ##AT##-##AT## round sunshine as you enjoy a dip in one of the outdoor swimming pools , as children play safely in their own pools .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also enjoy a drink in the bar , where you can enjoy a drink in the bar , where you can enjoy a drink in the bar . </s> \n",
      "\n",
      "DE:  Slimline ICE ist in einer Vielzahl von Geschmacksrichtungen sowohl als Eis am Stiel als auch im Becher erhältlich .\n",
      "\n",
      "\t EN (TRUE):Palatinose ™ is a disaccharide derived from beet sugar .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new version of the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Jedes Stück Information kann eigene Eigenschaften und Aktionen besitzen .\n",
      "\n",
      "\t EN (TRUE):Every bit of information and code can be given their own properties and actions .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The most important thing is the most important part of the world . </s> \n",
      "\n",
      "DE:  Die Lizenzgeberin haftet auch nach den gesetzlichen Bestimmungen , sofern als Folge eines von ihr zu vertretenden Lieferverzuges der / die Lizenznehmer / in berechtigt ist , geltend zu machen , dass sein Interesse an der weiteren Vertragserfüllung in Fortfall geraten ist .\n",
      "\n",
      "\t EN (TRUE):For any discounts the amount of the bill needs to have been paid in full on the account of the licensor .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The &quot; <unk> &quot; is a &quot; <unk> &quot; ( &quot; <unk> &quot; ) , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; <unk> &quot; , &quot; \n",
      "\n",
      "DE:  Bei einer digitalen Bildkette wird das Intensitätssignal für jedes Pixel ohne analoge Zwischenschritte direkt in der Detektoreinheit digitalisiert , d.h. in Zahlen umgewandelt .\n",
      "\n",
      "\t EN (TRUE):A digital image chain is an image chain that is equipped with a digital detector instead of an analogue one .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Bamberg , die &quot; Traumstadt der Deutschen &quot; , seine aufgeschlossenen Menschen und seine romantische Umgebung wird auch Sie begeistern , denn sie bietet für jeden etwas .\n",
      "\n",
      "\t EN (TRUE):The beauty and rich cultural life of this town can be enjoyed at any time of year . Soak up the summer sun whilst relaxing at one of the many sidewalk cafés in the historic old town or savour a cool beer beneath a shady chestnut tree in one of the popular beer gardens .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18537417041157545\n",
      "=====================================================\n",
      ".....Step  96500\n",
      "Actual: <unk> van het ontbijt was goed , maar niet de prijs <unk> . </s> \n",
      "\n",
      "Predicted: The <unk> <unk> <unk> , <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> </s> \n",
      "(Train) BLEU (460 elements):  0.37043707468641096\n",
      ".....Step  97000\n",
      "Actual: The hotel features a cafe out on Las Ramblas where you can enjoy pizzas , sandwiches , <unk> , paella , sea food , traditional tapas and the typical <unk> , while also experiencing all that happens along this marvellous street . </s> \n",
      "\n",
      "Predicted: The hotel is a wide , of the Ramblas , you can enjoy a and <unk> , and , <unk> , <unk> and , and and , seafood <unk> Mediterranean of <unk> the the the the you . the . . . </s> \n",
      "(Train) BLEU (470 elements):  0.36682826944221364\n",
      "============= Step  97000  =============\n",
      "\t Loss:  0.7666008453071117\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Der nordwestliche Teil der Insel besteht aus Granit und Gneis , von Ton überlagert , und bildet eine ca.\n",
      "\n",
      "\t EN (TRUE):A battle between Denmark and Sweden in 1645 led to Swedish control of the island , but it was brief - they left again the same year . In the Roskildepeace of 1658 Bornholm , Skaane , Halland and Blekinge were given to Sweden .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a small and medium ##AT##-##AT## sized ##AT##-##AT## sized holiday in the city . </s> \n",
      "\n",
      "DE:  Man schließt die Gitarre über Mikrofon oder Pickup an die PC Soundkarte an und schon kann es losgehen .\n",
      "\n",
      "\t EN (TRUE):You connect the guitar via microphone or pickup with the PC soundcard and you are ready !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> <unk> <unk> ( <unk> ) , which is a bit of a few minutes . </s> \n",
      "\n",
      "DE:  Niedrigere Preise durch mehr Wettbewerb . Die Kosten für Kapital können durch Währungsstabilität , niedrigere Zinssätze und eine bessere Organisation der Kapitalmärkte gesenkt werden .\n",
      "\n",
      "\t EN (TRUE):In a knowledge ##AT##-##AT## based society the opportunity of education is the key to progress and equality and sustainability .\n",
      "\n",
      "\n",
      "\t EN (Predicted): All the most recent years are available in the area of the <unk> , and the <unk> are available in the USA . </s> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The user is not only a problem . </s> \n",
      "\n",
      "DE:  bietet ihnen die Möglichkeit , alte ABAP ##AT##-##AT## Reports mit samt ihrer betriebswirtschaftlichen Intelligenz trotz des Umstiegs auf die MS ##AT##-##AT## Umgebung weiter zu nutzen .\n",
      "\n",
      "\t EN (TRUE):Uses the BW extractor API to extract data from productive R / 3 systems by using delta mechanisms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): the <unk> is the leading supplier of the <unk> and the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Standort war sehr praktisch . In 5 Minuten ist man am Hauptbahnhof , in 10 Minuten im Bankenviertel .\n",
      "\n",
      "\t EN (TRUE):very central only a few minutes walk from Bohr / Ryanair bus stop and main train station.Generally cheap and cheerful .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  Auch ist , so denkt Dr. Gutherz , bereits die erste Seite sehr viel versprechend , da sie eine Definition des klinischen Psychotrauma ##AT##-##AT## Begriffes enthält , der er gänzlich zustimmen kann .\n",
      "\n",
      "\t EN (TRUE):At the rhetorical climax of this summary , Dr Goodheart comes across some sentences expressed with great pathos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): He was a member of the <unk> of the <unk> , and the <unk> of the <unk> was the first <unk> . </s> \n",
      "\n",
      "DE:  Kosten Sie mediterrane Gerichte im preisgekrönten Restaurant Molyvos .\n",
      "\n",
      "\t EN (TRUE):Enjoy award winning Mediterranean cuisine at Molyvos .\n",
      "\n",
      "\n",
      "\t EN (Predicted): Restaurant , the hotel ’ s restaurant serves a wide range of dishes . </s> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a variety of different types of different types of different types . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Sehr freundliche Auszubildende an der Rezeption , die sehr bemüht noch einen Flug für mich gebucht hat .\n",
      "\n",
      "\t EN (TRUE):First of all I did not like the price ... the next day I went to Milano to a 4 star Hotel for 10 Euro less and super service .. I had a problem with my Internetconnection and the Hotel Maritim did not react right .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.2014407334551962\n",
      "=====================================================\n",
      ".....Step  97500\n",
      "Actual: Asia de Cuba restaurant is located on ##AT##-##AT## site and provides guests with innovative and elegant Asian ##AT##-##AT## Latin inspired cuisine . </s> \n",
      "\n",
      "Predicted: The Hotel la is is a in the site ##AT##-##AT## the a to a facilities modern design cuisine style cuisine . . </s> \n",
      "(Train) BLEU (600 elements):  0.3586535310848893\n",
      ".....Step  98000\n",
      "Actual: Look forward to the pan ##AT##-##AT## Asian restaurant Zen with show kitchen ( from 24 May 2009 ) , and try hearty Bavarian specialities in the rustic <unk> <unk> tavern and beer garden . </s> \n",
      "\n",
      "Predicted: The forward to the <unk> ##AT##-##AT## <unk> cuisine , , a a , <unk> 1 ##AT##-##AT## ) ) , and a to to specialities and the restaurant restaurant restaurant . . a . . </s> \n",
      "(Train) BLEU (560 elements):  0.3796863106234807\n",
      "============= Step  98000  =============\n",
      "\t Loss:  0.7491447923630477\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Je mehr Zeit wir mit Gilad und dem Rest des Teams in Israel verbracht haben ( um nicht den lauten Hahn zu erwähnen der schreiend bei denen über den Campus rennt ) desto überzeugter waren wir – zusammen können wir mehr bewegen .\n",
      "\n",
      "\t EN (TRUE):The more time we spent with Gilad as well as the rest of the team in Israel ( not to mention the very loud rooster that runs around in their campus ) , the more convinced we all became - we ’ ll be better off together .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> is a member of the <unk> <unk> , which is the first ##AT##-##AT## class ##AT##-##AT## show ##AT##-##AT## known <unk> , which is the first ##AT##-##AT## class ##AT##-##AT## largest ##AT##-##AT## class service , which is the largest ##AT##-##AT## class market leader in the world . </s> \n",
      "\n",
      "DE:  18 Denn siehe , er richtet , und sein Richterspruch ist gerecht ; und das Kleinkind , das im Kindesalter stirbt , geht nicht zugrunde ; aber die Menschen trinken Verdammnis für ihre eigene Seele , außer sie demütigen sich und a werden so wie kleine Kinder und glauben daran , daß die Errettung im b sühnenden Blut Christi , des Herrn , des Allmächtigen , und durch dasselbe war und ist und sein wird .\n",
      "\n",
      "\t EN (TRUE):18 For behold he judgeth , and his judgment is just ; and the infant perisheth not that dieth in his infancy ; but men drink a damnation to their own souls except they humble themselves and b become as little children , and believe that c salvation was , and is , and is to come , in and through the d atoning blood of Christ , the Lord Omnipotent .\n",
      "\n",
      "\n",
      "\t EN (Predicted): 20 But behold , they shall not be a ordained unto the people of the people who are not the remnant of the b <unk> of the Lord , and the b <unk> of the Lord , and the c <unk> of the Lord , and the d <unk> of the Lord , and the d <unk> of the Lord \n",
      "\n",
      "DE:  Leicht und ergonomisch gebaut , mit einer Hand zu bedienen , stellen diese Messgeräte eine wirtschaftliche Lösung dar , wenn bei Verdacht auf Wanddickenverlust schnell geprüft werden soll .\n",
      "\n",
      "\t EN (TRUE):Lightweight and ergonomically designed for easy one ##AT##-##AT## hand operation , these gages provide cost ##AT##-##AT## effective measurement solutions in many applications that require quick inspection of materials suspected of metal wall thinning .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Im Allgemeinen basieren sie auf Datenbanken , Templates und Skripts .\n",
      "\n",
      "\t EN (TRUE):In general they are based on databases , template and scripts .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The user is the most important software of the software . </s> \n",
      "\n",
      "DE:  Da jedes SCXI ##AT##-##AT## Modul die Signale auf einen einzigen Kanal des Datenerfassungsmoduls multiplext , lassen sich problemlos weitere Module hinzufügen , was für eine höhere Kanalanzahl sorgt .\n",
      "\n",
      "\t EN (TRUE):It can multiplex its signals into a single channel of the DAQ device , and you can add modules to increase channel count .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The NI <unk> is a powerful tool for the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Karibische Küche gut . Kaum bekannt - bis jetzt !\n",
      "\n",
      "\t EN (TRUE):Can get quite dodgy at night .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The hotel was very clean and the staff were very helpful and friendly . </s> \n",
      "\n",
      "DE:  Bei der Installation von Adobe Presenter 6 wird das ältere Programm Breeze Presenter 5.1 deinstalliert .\n",
      "\n",
      "\t EN (TRUE):Installing Adobe Presenter 6 will uninstall the earlier Breeze Presenter 5.1 .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a great place to enjoy the <unk> <unk> , which is the best way to get a trip to the <unk> . </s> \n",
      "\n",
      "DE:  Einst verwunschene Eilande , später Schlupfwinkel von Piraten , welche die goldbeladenen Schiffe der Spanier überfielen , sind diese unwirtlichen Inseln mit dem seltsamen Tierleben heute wohl eines der letzten großen Tierparadiese der Welt .\n",
      "\n",
      "\t EN (TRUE):Apart from its beautiful beaches and unique and varied ecosystems , the Galapagos Islands are home to towering active volcanoes that reach altitudes up to 1,600 meters .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Bamberg , die &quot; Traumstadt der Deutschen &quot; , seine aufgeschlossenen Menschen und seine romantische Umgebung wird auch Sie begeistern , denn sie bietet für jeden etwas .\n",
      "\n",
      "\t EN (TRUE):The beauty and rich cultural life of this town can be enjoyed at any time of year . Soak up the summer sun whilst relaxing at one of the many sidewalk cafés in the historic old town or savour a cool beer beneath a shady chestnut tree in one of the popular beer gardens .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.18584294378824148\n",
      "=====================================================\n",
      ".....Step  98500\n",
      "Actual: The Lighthouse Restaurant serves light meals as well as a quick lunch or a casual dinner . </s> \n",
      "\n",
      "Predicted: The restaurant Bar is a snacks and well as a wide drink to dinner drink dinner with </s> \n",
      "(Train) BLEU (470 elements):  0.3488314862999739\n",
      ".....Step  99000\n",
      "Actual: Dukat had a strange relationship with Benjamin Sisko , in many ways his counterpart and opposite . Dukat saw Sisko as a friend and viewed him with a great deal of respect , although that view was not shared by Sisko . </s> \n",
      "\n",
      "Predicted: In <unk> a <unk> a with the Sisko the he the cases , first was her the </s> \n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "(Train) BLEU (560 elements):  0.34259096236409836\n",
      "============= Step  99000  =============\n",
      "\t Loss:  0.7559592971652747\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  Der nordwestliche Teil der Insel besteht aus Granit und Gneis , von Ton überlagert , und bildet eine ca.\n",
      "\n",
      "\t EN (TRUE):A battle between Denmark and Sweden in 1645 led to Swedish control of the island , but it was brief - they left again the same year . In the Roskildepeace of 1658 Bornholm , Skaane , Halland and Blekinge were given to Sweden .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Dieser bietet doppelten Schutz durch den OnExecution Scan , der Programme noch bevor Sie gestartet werden mit dem Signaturenscanner überprüft , sowie dem Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\t EN (TRUE):It includes the double protection using the OnExecution Scan , which scans programs right before they are started with the signature scanner , as well as the Malware ##AT##-##AT## IDS .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The first time is the only way to use the <unk> <unk> file ( <unk> ) , and the <unk> <unk> is a <unk> file . </s> \n",
      "\n",
      "DE:  Leicht und ergonomisch gebaut , mit einer Hand zu bedienen , stellen diese Messgeräte eine wirtschaftliche Lösung dar , wenn bei Verdacht auf Wanddickenverlust schnell geprüft werden soll .\n",
      "\n",
      "\t EN (TRUE):Lightweight and ergonomically designed for easy one ##AT##-##AT## hand operation , these gages provide cost ##AT##-##AT## effective measurement solutions in many applications that require quick inspection of materials suspected of metal wall thinning .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Wie hilfreich finden Sie die Demo ##AT##-##AT## CD ?\n",
      "\n",
      "\t EN (TRUE):How helpful do you find the demo CD ##AT##-##AT## ROM ?\n",
      "\n",
      "\n",
      "\t EN (Predicted): How do I use the latest version ? </s> \n",
      "\n",
      "DE:  Nach einigen Wanderwochen erreichten ich und Celina Warschau . Auf dem Weg zum jüdischen Komitee begegnete ich auf der Straße meinem Bruder !\n",
      "\n",
      "\t EN (TRUE):It turned out that Marek had jumped from the window of a train moving to Majdanek .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> was a <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Die Deutschen sind schließlich nicht mehr dieselben , und Greuel gab es auf beiden Seiten dieser Front ; vergessen wir alle diejenigen , die die Orden und Medaillen des 9. Mai tragen - es sind doch so viele Jahre vergangen .\n",
      "\n",
      "\t EN (TRUE):Afterall &#91; they say &#93; , the Germans are no longer the same , and there was cruelty on both sides of the front ; let &apos;s forget all those who wear the medals of 9 May – so many years have passed since .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> , and the <unk> of the <unk> . </s> \n",
      "\n",
      "DE:  Mitglieder geniessen viele zus � tzliche Leistungen wie optimierter Sicherheit , schnelleren Auszahlungszeiten und der Aufhebung von Kreditkarteneinzahlungslimits .\n",
      "\n",
      "\t EN (TRUE):Members enjoy a range of perks including enhanced security and protection , faster withdrawals and increased credit card deposit limits .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a new tool for the <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> ##AT##-##AT## <unk> . </s> \n",
      "\n",
      "DE:  Das Cleddau Bridge Hotel ist der ideale Platz um zu entspannen oder geschäftlich zu reisen .\n",
      "\n",
      "\t EN (TRUE):Cleddau Bridge hotel is the ideal place for those who want a relaxing holiday or who travel for business .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> Hotel is located in the heart of the city , just a few minutes away from the hotel . </s> \n",
      "\n",
      "DE:  Sie können hier auch Kanufahren , Windsurfen und Tauchen ...\n",
      "\n",
      "\t EN (TRUE):Here , you can also practice aquatic sports such as yachting , windsurfing and canoeing ... you will find all kinds of water channels , from wild brooks to serene lakes .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also find a variety of different types of different types of different types . </s> \n",
      "\n",
      "DE:  Bei den romanischen Völkern paart sich die effektive Ohnmacht mit lächerlicher Anmaßung .\n",
      "\n",
      "\t EN (TRUE):To material weakness the Latin countries add a quite fantastic pretentiousness .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.1902907118607905\n",
      "=====================================================\n",
      ".....Step  99500\n",
      "Actual: Our mission is to help you be prepared for that glorious event . </s> \n",
      "\n",
      "Predicted: This new is to be you to able with the you . . </s> \n",
      "(Train) BLEU (480 elements):  0.3580523420320982\n",
      ".....Step  100000\n",
      "Actual: The principle of progressive color transfer remains an important method for the accurate detection of high spots . </s> \n",
      "\n",
      "Predicted: This <unk> of the jackpot is is of important role of the <unk> of of the ##AT##-##AT## . </s> \n",
      "(Train) BLEU (500 elements):  0.34470306314985855\n",
      "============= Step  100000  =============\n",
      "\t Loss:  0.7628165670037269\n",
      "=====================================================\n",
      "(Test) Translating test sentences ...\n",
      "Processing test data ... \n",
      "DE:  In der Hotelbeschreibung im Internet müßte die Zufahrt beschrieben werden .\n",
      "\n",
      "\t EN (TRUE):There are no adverse comments about this hotel at all .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> <unk> <unk> <unk> <unk> . </s> \n",
      "\n",
      "DE:  Man schließt die Gitarre über Mikrofon oder Pickup an die PC Soundkarte an und schon kann es losgehen .\n",
      "\n",
      "\t EN (TRUE):You connect the guitar via microphone or pickup with the PC soundcard and you are ready !\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can also use the <unk> <unk> <unk> ( <unk> ) , which is a bit of a few minutes . </s> \n",
      "\n",
      "DE:  Leicht und ergonomisch gebaut , mit einer Hand zu bedienen , stellen diese Messgeräte eine wirtschaftliche Lösung dar , wenn bei Verdacht auf Wanddickenverlust schnell geprüft werden soll .\n",
      "\n",
      "\t EN (TRUE):Lightweight and ergonomically designed for easy one ##AT##-##AT## hand operation , these gages provide cost ##AT##-##AT## effective measurement solutions in many applications that require quick inspection of materials suspected of metal wall thinning .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> , the <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> <unk> \n",
      "\n",
      "DE:  Wenn eine Speicherung der Daten auf dem Client erfolgen soll , werden Cookys verwendet .\n",
      "\n",
      "\t EN (TRUE):When client data storage is needed , cookies are used .\n",
      "\n",
      "\n",
      "\t EN (Predicted): If the use of the use of the use of the <unk> . </s> \n",
      "\n",
      "DE:  bietet ihnen die Möglichkeit , alte ABAP ##AT##-##AT## Reports mit samt ihrer betriebswirtschaftlichen Intelligenz trotz des Umstiegs auf die MS ##AT##-##AT## Umgebung weiter zu nutzen .\n",
      "\n",
      "\t EN (TRUE):Uses the BW extractor API to extract data from productive R / 3 systems by using delta mechanisms .\n",
      "\n",
      "\n",
      "\t EN (Predicted): the <unk> is the leading supplier of the <unk> and the <unk> of the <unk> . </s> \n",
      "\n"
     ]
    },
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "DE:  Standort war sehr praktisch . In 5 Minuten ist man am Hauptbahnhof , in 10 Minuten im Bankenviertel .\n",
      "\n",
      "\t EN (TRUE):very central only a few minutes walk from Bohr / Ryanair bus stop and main train station.Generally cheap and cheerful .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The room was very clean and the room was very clean . </s> \n",
      "\n",
      "DE:  Zerstören Sie alle Blöcke , um zur nächsten Ebene zu gelangen .\n",
      "\n",
      "\t EN (TRUE):Destroy all the blocks to advance to the next level .\n",
      "\n",
      "\n",
      "\t EN (Predicted): You can see the <unk> <unk> . </s> \n",
      "\n",
      "DE:  So pendelt der nächtliche Sucher dann zwischen dem Antiquariat am Kollwitzplatz in Berlin und dem in Brighton , zwischen Vancouver und Adelaide / Australien hin und her .\n",
      "\n",
      "\t EN (TRUE):And so the nocturnal searcher shuttles back and forth between the antiquarian bookshop on Kollwitzplatz in Berlin and one in Brighton , between Vancouver and Adelaide in Australia .\n",
      "\n",
      "\n",
      "\t EN (Predicted): The <unk> <unk> is a great place to find the best way to get a trip to the <unk> , and the <unk> <unk> is a great place to enjoy a wide range of restaurants . </s> \n",
      "\n",
      "DE:  Es handelt sich um ein ziemlich einfaches Protokoll ; TFTP macht aber manchmal Probleme .\n",
      "\n",
      "\t EN (TRUE):This is a fairly simple protocol , but sometimes there are problems trying to get it to work .\n",
      "\n",
      "\n",
      "\t EN (Predicted): I don &apos;t have to be able to get a lot of <unk> . </s> \n",
      "\n",
      "DE:  Es gibt in der Nähe kein Stadtzentrum , in dem man abends beruhigt spazieren gehen könnte . Zu Fuß braucht man in das Zentrum Bournemouths 25 min .\n",
      "\n",
      "\t EN (TRUE):Also , the possibility of a small corner play area for kids in restuarant so that adults can eat in peace and with peace of mind .\n",
      "\n",
      "\n",
      "\t EN (Predicted): <unk> is a good idea of the city , but it is a good idea to get a little bit . </s> \n",
      "\n",
      "(Test) BLEU (100 elements):  0.20200264089984168\n",
      "=====================================================\n"
     ]
    }
   ],
   "source": [
    "# Training and test BLEU scores\n",
    "train_bleu_scores_over_time,test_bleu_scores_over_time = [],[]\n",
    "# Loss over time\n",
    "loss_over_time = []\n",
    "\n",
    "# Labels and predictions required to calculate the BLEU scores\n",
    "# For both train and test data\n",
    "train_bleu_refs, train_bleu_cands = [],[]\n",
    "test_bleu_refs, test_bleu_cands = [],[]\n",
    "\n",
    "# Number of steps the training goes for\n",
    "num_steps = 100001\n",
    "avg_loss = 0\n",
    "\n",
    "# Defining data generators for encoder/decoder and training/testing\n",
    "enc_data_generator, dec_data_generator, \\\n",
    "test_enc_data_generator, test_dec_data_generator = \\\n",
    "define_data_generators(batch_size, enc_num_unrollings, dec_num_unrollings)\n",
    "\n",
    "print('Started Training')\n",
    "\n",
    "for step in range(num_steps):\n",
    "\n",
    "    # input (encoder) unrolling length: 40\n",
    "    # output (decoder) unrolling length: 60\n",
    "    if (step+1)%100==0:\n",
    "        print('.',end='')\n",
    "\n",
    "    # Sample a random batch of IDs from training data\n",
    "    sent_ids = np.random.randint(low=0,high=train_inputs.shape[0],size=(batch_size))\n",
    "    \n",
    "    # Getting an unrolled set of data batches for the encoder\n",
    "    eu_data, _, _ = enc_data_generator.unroll_batches(sent_ids=sent_ids)\n",
    "    \n",
    "    # Getting an unrolled set of data batches for the decoder\n",
    "    du_data, du_labels, _ = dec_data_generator.unroll_batches(sent_ids=sent_ids)\n",
    "    \n",
    "    # Train for single step\n",
    "    l, tr_pred = train_single_step(eu_data, du_data, du_labels)\n",
    "    \n",
    "    # We don't calculate BLEU scores all the time as this is expensive, \n",
    "    # it slows down the code\n",
    "    if np.random.random()<0.1:\n",
    "        \n",
    "        # all_labels are labels obtained by concatinating all the labels in batches\n",
    "        all_labels = np.argmax(np.concatenate(du_labels,axis=0),axis=1)\n",
    "        # all_preds are predictions for all unrolled steps\n",
    "        all_preds = np.argmax(tr_pred,axis=1)\n",
    "        \n",
    "        # Get training BLEU candidates and references\n",
    "        batch_cands, batch_refs = create_bleu_ref_candidate_lists(all_preds, all_labels)\n",
    "        \n",
    "        # Accumulate training candidates/references for calculating\n",
    "        # BLEU later\n",
    "        train_bleu_refs.extend(batch_refs)\n",
    "        train_bleu_cands.extend(batch_cands)\n",
    "\n",
    "    if (step+1)%500==0:  \n",
    "        \n",
    "        # Writing actual and predicte data to train_prediction.txt file for some random sentence\n",
    "        print('Step ',step+1)\n",
    "        with open(os.path.join(log_dir, train_prediction_text_fname),'a') as fa:                                \n",
    "            fa.write('============= Step ' +  str(step+1) + ' =============\\n') \n",
    "        \n",
    "        rand_idx = np.random.randint(low=1,high=batch_size)\n",
    "        print_and_save_train_predictions(du_labels, tr_pred, rand_idx, train_prediction_text_fname)        \n",
    "        \n",
    "        # Calculating the BLEU score for the accumulated candidates/references\n",
    "        bscore = 0.0\n",
    "        bscore = corpus_bleu(train_bleu_refs,train_bleu_cands,smoothing_function=nltk.translate.bleu_score.SmoothingFunction().method4)\n",
    "        train_bleu_scores_over_time.append(bscore)\n",
    "        print('(Train) BLEU (%d elements): '%(len(train_bleu_refs)),bscore)\n",
    "        \n",
    "        # Reset the candidate/reference accumulators\n",
    "        train_bleu_refs, train_bleu_cands = [],[]\n",
    "        \n",
    "        # Write BLEU score to file\n",
    "        with open(log_dir + os.sep +'blue_scores.txt','a') as fa_bleu:\n",
    "            fa_bleu.write(str(step+1) +','+str(bscore)+'\\n')\n",
    "        \n",
    "        with open(os.path.join(log_dir, train_prediction_text_fname),'a') as fa:                \n",
    "            fa.write('(Train) BLEU: %.5f\\n'%bscore)        \n",
    "        \n",
    "    avg_loss += l  # Update average loss\n",
    "    \n",
    "    sess.run(reset_train_state) # Resetting hidden state for each batch\n",
    "    \n",
    "    # ============================= TEST PHASE ==================================\n",
    "    if (step+1)%1000==0:\n",
    "        # Calculate average loss\n",
    "        print('============= Step ', str(step+1), ' =============')\n",
    "        print('\\t Loss: ',avg_loss/1000.0)\n",
    "        loss_over_time.append(avg_loss/1000.0)\n",
    "        \n",
    "        # Write losses to file\n",
    "        with open(log_dir + os.sep + 'losses.txt','a') as fa_loss:\n",
    "            fa_loss.write(str(step+1) +','+str(avg_loss/1000.0)+'\\n')\n",
    "        \n",
    "        with open(os.path.join(log_dir, train_prediction_text_fname),'a') as fa:                                \n",
    "            fa.write('============= Step ' +  str(step+1) + ' =============\\n') \n",
    "            fa.write('\\t Loss: %.5f\\n'%(avg_loss/1000.0))\n",
    "            \n",
    "        avg_loss = 0.0\n",
    "        \n",
    "        # Increase gstep to decay learning rate\n",
    "        sess.run(inc_gstep)\n",
    "        \n",
    "        # reset global step when we change the optimizer\n",
    "        if (step+1)==20000: \n",
    "            sess.run(reset_gstep)\n",
    "        \n",
    "        print('=====================================================')\n",
    "        print('(Test) Translating test sentences ...')        \n",
    "\n",
    "        print('Processing test data ... ')\n",
    "        \n",
    "        # ===================================================================================\n",
    "        # Predictions for Test data\n",
    "        for in_i in range(test_inputs.shape[0]//batch_size):\n",
    "            \n",
    "            # Generate encoder / decoder data for testing data\n",
    "            test_eu_data, test_eu_labels, _ = test_enc_data_generator.unroll_batches(sent_ids=np.arange(in_i*batch_size,(in_i+1)*batch_size))\n",
    "            test_du_data, test_du_labels, _ = test_dec_data_generator.unroll_batches(sent_ids=np.arange(in_i*batch_size,(in_i+1)*batch_size))\n",
    "            \n",
    "            # fill the feed dict\n",
    "            feed_dict = {}\n",
    "            for ui,(dat,lbl) in enumerate(zip(test_eu_data,test_eu_labels)):            \n",
    "                feed_dict[enc_test_input[ui]] = dat             \n",
    "\n",
    "            # Get predictions out with decoder          \n",
    "            # run prediction calculation this returns a list of prediction dec_num_unrollings long\n",
    "            test_pred_unrolled = sess.run(test_predictions, feed_dict=feed_dict)\n",
    "            \n",
    "            # We print a randomly selected sample from each batch\n",
    "            test_rand_idx = np.random.randint(0,batch_size) # used for printing test output\n",
    "            \n",
    "            print_and_save_test_predictions(test_du_labels, test_pred_unrolled, in_i, test_rand_idx, test_prediction_text_fname)\n",
    "            \n",
    "            # Things required to calculate test BLEU score\n",
    "            all_labels = np.argmax(np.concatenate(test_du_labels,axis=0),axis=1)\n",
    "            all_preds = np.concatenate(test_pred_unrolled, axis=0)\n",
    "            batch_cands, batch_refs = create_bleu_ref_candidate_lists(all_preds, all_labels)\n",
    "            test_bleu_refs.extend(batch_refs)\n",
    "            test_bleu_cands.extend(batch_cands)\n",
    "            \n",
    "            # Reset the test state\n",
    "            sess.run(reset_test_state)\n",
    "        \n",
    "        # Calculate test BLEU score\n",
    "        test_bleu_score = 0.0\n",
    "        test_bleu_score = corpus_bleu(test_bleu_refs,test_bleu_cands,\n",
    "                                      smoothing_function=nltk.translate.bleu_score.SmoothingFunction().method4)\n",
    "        test_bleu_scores_over_time.append(test_bleu_score)\n",
    "        print('(Test) BLEU (%d elements): '%(len(test_bleu_refs)),test_bleu_score)\n",
    "        \n",
    "        test_bleu_refs, test_bleu_cands = [],[]        \n",
    "        print('=====================================================')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 2
}
